public class QueryBitSetProducer extends Object implements BitSetProducer
BitSetProducer that wraps a query and caches matching
BitSets per segment.| Constructor and Description |
|---|
QueryBitSetProducer(Query query)
Wraps another query's result and caches it into bitsets.
|
public QueryBitSetProducer(Query query)
query - Query to cache results ofpublic Query getQuery()
public BitSet getBitSet(LeafReaderContext context) throws IOException
BitSetProducerBitSet matching the expected documents on the given
segment. This may return null if no documents match.getBitSet in interface BitSetProducerIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.