Class ElasticsearchFieldHighlightProjection
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchFieldHighlightProjection
-
- All Implemented Interfaces:
ElasticsearchSearchProjection<List<String>>,SearchProjection<List<String>>
public class ElasticsearchFieldHighlightProjection extends Object implements ElasticsearchSearchProjection<List<String>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElasticsearchFieldHighlightProjection.Builderstatic classElasticsearchFieldHighlightProjection.Factory<F>-
Nested classes/interfaces inherited from interface org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchSearchProjection
ElasticsearchSearchProjection.Extractor<E,P>
-
-
Field Summary
-
Fields inherited from interface org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchSearchProjection
log
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>indexNames()org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchFieldHighlightProjection.FieldHighlightExtractorrequest(com.google.gson.JsonObject requestBody, ProjectionRequestContext context)Contributes to the request, making sure that the requirements for this projection are met, and creating anElasticsearchSearchProjection.Extractorthat will be able to extract the result of the projection from the Elasticsearch response.StringtoString()
-
-
-
Method Detail
-
indexNames
public Set<String> indexNames()
- Specified by:
indexNamesin interfaceElasticsearchSearchProjection<List<String>>
-
request
public org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchFieldHighlightProjection.FieldHighlightExtractor request(com.google.gson.JsonObject requestBody, ProjectionRequestContext context)Description copied from interface:ElasticsearchSearchProjectionContributes to the request, making sure that the requirements for this projection are met, and creating anElasticsearchSearchProjection.Extractorthat will be able to extract the result of the projection from the Elasticsearch response.- Specified by:
requestin interfaceElasticsearchSearchProjection<List<String>>- Parameters:
requestBody- The request body.context- An execution context for the request.- Returns:
- An
ElasticsearchSearchProjection.Extractor, to extract the result of the projection from the Elasticsearch response.
-
-