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.
Constructor and Description |
---|
ExcludePersonalInformationFilter() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs) |
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context, org.apache.lucene.util.Bits acceptDocs) throws IOException
getDocIdSet
in class org.apache.lucene.search.Filter
IOException
Copyright © 2003–2016 Atlassian. All rights reserved.