Class HighlightUtils
- java.lang.Object
-
- org.elasticsearch.search.fetch.subphase.highlight.HighlightUtils
-
public final class HighlightUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHighlightUtils.Encoders
-
Field Summary
Fields Modifier and Type Field Description static charNULL_SEPARATORstatic charPARAGRAPH_SEPARATOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Object>loadFieldValues(MappedFieldType fieldType, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource)Load field values for highlighting.
-
-
-
Field Detail
-
PARAGRAPH_SEPARATOR
public static final char PARAGRAPH_SEPARATOR
- See Also:
- Constant Field Values
-
NULL_SEPARATOR
public static final char NULL_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadFieldValues
public static List<Object> loadFieldValues(MappedFieldType fieldType, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource) throws IOException
Load field values for highlighting.- Throws:
IOException
-
-