org.apache.lucene.search.join
Class RawTermFilter
java.lang.Object
org.apache.lucene.search.Filter
org.apache.lucene.search.join.RawTermFilter
- All Implemented Interfaces:
- Serializable
public class RawTermFilter
- extends org.apache.lucene.search.Filter
Expert: creates a filter accepting all documents
containing the provided term, disregarding deleted
documents. NOTE: this filter only works on readers
whose sequential sub readers are SegmentReaders.
Normally you should not use this class; the only
known required case is when using BlockJoinQuery from
contrib/join.
- See Also:
- Serialized Form
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Constructor Summary |
RawTermFilter(org.apache.lucene.index.Term term)
|
Method Summary |
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.IndexReader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawTermFilter
public RawTermFilter(org.apache.lucene.index.Term term)
getDocIdSet
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.IndexReader reader)
throws IOException
- Specified by:
getDocIdSet
in class org.apache.lucene.search.Filter
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.