com.atlassian.confluence.search.lucene.filter
Class ContentNameSearchPermissionsFilter
java.lang.Object
org.apache.lucene.search.Filter
com.atlassian.confluence.search.lucene.filter.ContentNameSearchPermissionsFilter
- All Implemented Interfaces:
- Serializable
public class ContentNameSearchPermissionsFilter
- extends org.apache.lucene.search.Filter
A Lucene filter used to apply all the relevant permissioning necessary when using the content name search (QuickNav)
in Confluence. For instance the admin user has no space permission filter, etc.
- See Also:
- Serialized Form
Method Summary |
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.IndexReader reader)
|
Methods inherited from class org.apache.lucene.search.Filter |
bits |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentNameSearchPermissionsFilter
public ContentNameSearchPermissionsFilter(UserAccessor userAccessor,
SpacePermissionsFilter spacePermissionsFilter)
getDocIdSet
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
throws IOException
- Overrides:
getDocIdSet
in class org.apache.lucene.search.Filter
- Throws:
IOException
Copyright © 2003-2012 Atlassian. All Rights Reserved.