|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.Filter com.atlassian.confluence.search.lucene.filter.TermFilter
public class TermFilter
Lucene filter that finds documents that match a particular Term
.
Constructor Summary | |
---|---|
TermFilter(org.apache.lucene.index.Term term)
Create a lucene filter that finds documents that match a particular Term . |
Method Summary | |
---|---|
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
|
org.apache.lucene.index.Term |
getTerm()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TermFilter(org.apache.lucene.index.Term term)
Term
.
term
- The Term
to find. If null, an empty BitSet will be returned from getDocIdSet(org.apache.lucene.index.AtomicReaderContext, org.apache.lucene.util.Bits)
Method Detail |
---|
public org.apache.lucene.index.Term getTerm()
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context, org.apache.lucene.util.Bits acceptDocs) throws java.io.IOException
getDocIdSet
in class org.apache.lucene.search.Filter
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |