Class FieldOffsetStrategy

java.lang.Object
org.apache.lucene.search.uhighlight.FieldOffsetStrategy
Direct Known Subclasses:
AnalysisOffsetStrategy, NoOpOffsetStrategy, PostingsOffsetStrategy, PostingsWithTermVectorsOffsetStrategy, TermVectorOffsetStrategy

public abstract class FieldOffsetStrategy extends Object
Ultimately returns an OffsetsEnum yielding potentially highlightable words in the text. Needs information about the query up front.
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.