Class FieldCacheDocIdSet
Base class for DocIdSet to be used with IFieldCache. The implementation
of its iterator is very stupid and slow if the implementation of the
MatchDoc(Int32) method is not optimized, as iterators simply increment
the document id until MatchDoc(Int32) returns true
. Because of this
MatchDoc(Int32) must be as fast as possible and in no case do any
I/O.
@lucene.internal
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class FieldCacheDocIdSet : DocIdSet
Constructors
Name | Description |
---|---|
FieldCacheDocIdSet(Int32, IBits) |
Fields
Name | Description |
---|---|
m_acceptDocs | |
m_maxDoc |
Properties
Name | Description |
---|---|
Bits | |
IsCacheable | This DocIdSet is always cacheable (does not go back to the reader for iteration) |
Methods
Name | Description |
---|---|
GetIterator() | |
MatchDoc(Int32) | This method checks, if a doc is a hit |