com.atlassian.confluence.hosted.search.lucene.filter
Class ExcludePersonalInformationFilter

java.lang.Object
  extended by org.apache.lucene.search.Filter
      extended by 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.


Constructor Summary
ExcludePersonalInformationFilter()
           
 
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
 

Constructor Detail

ExcludePersonalInformationFilter

public ExcludePersonalInformationFilter()
Method Detail

getDocIdSet

public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
                                                     org.apache.lucene.util.Bits acceptDocs)
                                              throws java.io.IOException
Specified by:
getDocIdSet in class org.apache.lucene.search.Filter
Throws:
java.io.IOException


Copyright © 2003-2014 Atlassian. All Rights Reserved.