com.atlassian.confluence.hosted.search.lucene.filter
Class ExcludePersonalInformationFilter
java.lang.Object
org.apache.lucene.search.Filter
com.atlassian.confluence.hosted.search.lucene.filter.ExcludePersonalInformationFilter
public class ExcludePersonalInformationFilter
- extends org.apache.lucene.search.Filter
Lucene Filter that filters out indexed documents that are personal information objects.
This is used in shared mode where information about users should not be exposed via the search.
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 |
ExcludePersonalInformationFilter
public ExcludePersonalInformationFilter()
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.