The MultiTermQueryWrapperFilter type exposes the following members.

Methods

  NameDescription
Public methodBits Obsolete.
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
(Overrides Filter..::..Bits(IndexReader).)
Public methodClearTotalNumberOfTerms
Expert: Resets the counting of unique terms. Do this before executing the filter.
Public methodEquals (Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDocIdSet
Returns a DocIdSet with documents that should be permitted in search results.
(Overrides Filter..::..GetDocIdSet(IndexReader).)
Public methodGetHashCode (Overrides Object..::..GetHashCode()()()().)
Public methodGetTotalNumberOfTerms
Expert: Return the number of unique terms visited during execution of the filter. If there are many of them, you may consider using another filter type or optimize your total term count in index.

This method is not thread safe, be sure to only call it when no filter is running! If you re-use the same filter instance for another search, be sure to first reset the term counter with {@link #clearTotalNumberOfTerms}.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides Object..::..ToString()()()().)

See Also