Package org.apache.lucene.search.suggest
Class BitsProducer
- java.lang.Object
-
- org.apache.lucene.search.suggest.BitsProducer
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBitsProducer()Sole constructor, typically invoked by sub-classes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract BitsgetBits(LeafReaderContext context)ReturnBitsfor the given leaf.
-
-
-
Method Detail
-
getBits
public abstract Bits getBits(LeafReaderContext context) throws IOException
ReturnBitsfor the given leaf. The returned instance must be non-null and have alengthequal tomaxDoc.- Throws:
IOException
-
-