com.atlassian.confluence.search.lucene.filter
Class ContentNameSearchPermissionsFilter
java.lang.Object
org.apache.lucene.search.Filter
com.atlassian.confluence.search.lucene.filter.ContentNameSearchPermissionsFilter
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.
Method Summary |
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
|
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,
com.atlassian.user.User currentUser)
getDocIdSet
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
throws IOException
- Specified by:
getDocIdSet
in class org.apache.lucene.search.Filter
- Throws:
IOException
Copyright © 2003–2015 Atlassian. All rights reserved.