Class FilteredQuery.RandomAccessFilterStrategy
A FilteredQuery.FilterStrategy that conditionally uses a random access filter if the given DocIdSet supports random access (returns a non-null value from Bits) and UseRandomAccess(IBits, Int32) returns
true
. Otherwise this strategy falls back to a "zig-zag join" (
LEAP_FROG_FILTER_FIRST_STRATEGY) strategy .
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class RandomAccessFilterStrategy : FilteredQuery.FilterStrategy
Methods
Name | Description |
---|---|
FilteredScorer(AtomicReaderContext, Weight, DocIdSet) | |
UseRandomAccess(IBits, Int32) | Expert: decides if a filter should be executed as "random-access" or not. Random-access means the filter "filters" in a similar way as deleted docs are filtered in Lucene. This is faster when the filter accepts many documents. However, when the filter is very sparse, it can be faster to execute the query+filter as a conjunction in some cases.
The default implementation returns @lucene.internal |