|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.Filter
com.arsdigita.search.lucene.PartyFilter
PartyFilter that filters the query based on the passed in party
Constructor Summary | |
PartyFilter(BigDecimal partyID,
String partyType)
This creates a PartyFilter based on the party with the passed in ID |
|
PartyFilter(Party party,
String partyType)
Creates a new PartyFilter |
Method Summary | |
BitSet |
bits(org.apache.lucene.index.IndexReader reader)
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PartyFilter(Party party, String partyType)
party
- The party to use for the filterpartyType
- The type of the party to restrict. Examples
would be Document.CREATION_USER and Document.LAST_MODIFIED_USERpublic PartyFilter(BigDecimal partyID, String partyType)
Method Detail |
public final BitSet bits(org.apache.lucene.index.IndexReader reader) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |