getHighlights abstract method

Map<HighlightType, List<IndexRange>> getHighlights()

The text slices matching the input query.

Returns Map<HighlightType, List<IndexRange>>. Associated container where HighlightType is a key and list of IndexRange value.

Implementation

Map<HighlightType, List<IndexRange>> getHighlights();