Uses of Interface org.apache.lucene.search.matchhighlight.OffsetsRetrievalStrategy (Lucene 10.5.0 highlighter API)
Description: use: package: org.apache.lucene.search.matchhighlight, interface: OffsetsRetrievalStrategy

# Uses of Interface
org.apache.lucene.search.matchhighlight.OffsetsRetrievalStrategy

Packages that use OffsetsRetrievalStrategy
Package
Description
org.apache.lucene.search.matchhighlight
This package contains several components useful to build a highlighter on top of the `Matches` API.

- ## Uses of OffsetsRetrievalStrategy in org.apache.lucene.search.matchhighlight

  Classes in org.apache.lucene.search.matchhighlight that implement OffsetsRetrievalStrategy
  Modifier and Type
  Class
  Description
  `final class`
  `OffsetsFromMatchIterator`
  This strategy retrieves offsets directly from `MatchesIterator`, if they are available, otherwise it falls back to using `OffsetsFromPositions`.
  `final class`
  `OffsetsFromPositions`
  This strategy applies to fields with stored positions but no offsets.
  `final class`
  `OffsetsFromTokens`
  This strategy works for fields where we know the match occurred but there are no known positions or offsets.
  `final class`
  `OffsetsFromValues`
  This strategy works for fields where we know the match occurred but there are no known positions or offsets.