Class ElasticsearchSearchHighlighterImpl
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.search.highlighter.impl.ElasticsearchSearchHighlighterImpl
-
- All Implemented Interfaces:
ElasticsearchSearchHighlighter,SearchHighlighter
public class ElasticsearchSearchHighlighterImpl extends Object implements ElasticsearchSearchHighlighter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElasticsearchSearchHighlighterImpl.Builder
-
Field Summary
Fields Modifier and Type Field Description static ElasticsearchSearchHighlighterNO_OPTIONS_CONFIGURATION-
Fields inherited from interface org.hibernate.search.backend.elasticsearch.search.highlighter.impl.ElasticsearchSearchHighlighter
log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyToField(String path, com.google.gson.JsonObject fields)Set<String>indexNames()voidrequest(com.google.gson.JsonObject requestBody)StringtoString()SearchHighlighterTypetype()
-
-
-
Field Detail
-
NO_OPTIONS_CONFIGURATION
public static final ElasticsearchSearchHighlighter NO_OPTIONS_CONFIGURATION
-
-
Method Detail
-
request
public void request(com.google.gson.JsonObject requestBody)
- Specified by:
requestin interfaceElasticsearchSearchHighlighter
-
applyToField
public void applyToField(String path, com.google.gson.JsonObject fields)
- Specified by:
applyToFieldin interfaceElasticsearchSearchHighlighter
-
indexNames
public Set<String> indexNames()
- Specified by:
indexNamesin interfaceElasticsearchSearchHighlighter
-
type
public SearchHighlighterType type()
- Specified by:
typein interfaceElasticsearchSearchHighlighter
-
-