The DocIdSet type exposes the following members.

Constructors

  NameDescription
Protected methodDocIdSet
Initializes a new instance of the DocIdSet class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from 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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsCacheable
This method is a hint for {@link CachingWrapperFilter}, if this
CopyC#
DocIdSet
should be cached without copying it into a BitSet. The default is to return
CopyC#
false
. If you have an own
CopyC#
DocIdSet
implementation that does its iteration very effective and fast without doing disk I/O, override this method and return true.
Public methodIterator
Provides a {@link DocIdSetIterator} to access the set. This implementation can return
CopyC#
null
or
CopyC#
{@linkplain #EMPTY_DOCIDSET}.iterator()
if there are no docs that match.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Public fieldStatic memberEMPTY_DOCIDSET
An empty {@code DocIdSet} instance for easy use, e.g. in Filters that hit no documents.

See Also