Uses of Interface
org.apache.lucene.search.matchhighlight.OffsetsRetrievalStrategySupplier
Packages that use OffsetsRetrievalStrategySupplier
Package
Description
This package contains several components useful to build a highlighter on top of the
Matches API.-
Uses of OffsetsRetrievalStrategySupplier in org.apache.lucene.search.matchhighlight
Methods in org.apache.lucene.search.matchhighlight that return OffsetsRetrievalStrategySupplierModifier and TypeMethodDescriptionMatchRegionRetriever.computeOffsetRetrievalStrategies(IndexReader reader, Analyzer analyzer) Compute default strategies for retrieving offsets fromMatchesIteratorinstances for a set of given fields.Constructors in org.apache.lucene.search.matchhighlight with parameters of type OffsetsRetrievalStrategySupplierModifierConstructorDescriptionMatchHighlighter(IndexSearcher searcher, Analyzer analyzer, OffsetsRetrievalStrategySupplier offsetsRetrievalStrategies) MatchRegionRetriever(IndexSearcher searcher, Query query, OffsetsRetrievalStrategySupplier fieldOffsetStrategySupplier, Predicate<String> fieldsToLoadUnconditionally, Predicate<String> fieldsToLoadIfWithHits)