Constructor and Description |
---|
HighlightQueryBuilder(MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.search.fetch.subphase.highlight.HighlightBuilder |
getHighlightBuilder(Highlight highlight,
Class<?> type)
creates an Elasticsearch HighlightBuilder from an annotation.
|
public HighlightQueryBuilder(MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
public org.elasticsearch.search.fetch.subphase.highlight.HighlightBuilder getHighlightBuilder(Highlight highlight, @Nullable Class<?> type)
highlight,
- must not be nulltype
- the entity type, used to map field names. If null, field names are not mapped.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.