Class 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 Detail

      • RawTermFilter

        public RawTermFilter​(org.apache.lucene.index.Term term)
    • Method Detail

      • 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