Class HighlightUtils
java.lang.Object
org.opensearch.search.fetch.subphase.highlight.HighlightUtils
Utility class used during the highlight phase of the search request.
- Opensearch.internal:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Encoders for the highlighters -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final char
static final char
-
Method Summary
Modifier and TypeMethodDescriptionloadFieldValues
(MappedFieldType fieldType, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource) Load field values for highlighting.
-
Field Details
-
PARAGRAPH_SEPARATOR
public static final char PARAGRAPH_SEPARATOR- See Also:
-
NULL_SEPARATOR
public static final char NULL_SEPARATOR- See Also:
-
-
Method Details
-
loadFieldValues
public static List<Object> loadFieldValues(MappedFieldType fieldType, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource) throws IOException Load field values for highlighting.- Throws:
IOException
-