Class Elasticsearch81SearchSyntax
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.lowlevel.syntax.search.impl.Elasticsearch81SearchSyntax
-
- All Implemented Interfaces:
ElasticsearchSearchSyntax
- Direct Known Subclasses:
Elasticsearch7SearchSyntax
public class Elasticsearch81SearchSyntax extends Object implements ElasticsearchSearchSyntax
The search syntax for ES8.1 and later.
-
-
Constructor Summary
Constructors Constructor Description Elasticsearch81SearchSyntax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElementencodeLongForAggregation(Long value)StringgetTermAggregationOrderByTermToken()voidrequestDocValues(com.google.gson.JsonObject requestBody, com.google.gson.JsonPrimitive fieldName)voidrequestGeoDistanceSortIgnoreUnmapped(com.google.gson.JsonObject innerObject)voidrequestNestedSort(List<String> nestedPathHierarchy, com.google.gson.JsonObject innerObject, com.google.gson.JsonObject filterOrNull)
-
-
-
Method Detail
-
getTermAggregationOrderByTermToken
public String getTermAggregationOrderByTermToken()
- Specified by:
getTermAggregationOrderByTermTokenin interfaceElasticsearchSearchSyntax
-
requestDocValues
public void requestDocValues(com.google.gson.JsonObject requestBody, com.google.gson.JsonPrimitive fieldName)- Specified by:
requestDocValuesin interfaceElasticsearchSearchSyntax
-
requestNestedSort
public void requestNestedSort(List<String> nestedPathHierarchy, com.google.gson.JsonObject innerObject, com.google.gson.JsonObject filterOrNull)
- Specified by:
requestNestedSortin interfaceElasticsearchSearchSyntax
-
requestGeoDistanceSortIgnoreUnmapped
public void requestGeoDistanceSortIgnoreUnmapped(com.google.gson.JsonObject innerObject)
- Specified by:
requestGeoDistanceSortIgnoreUnmappedin interfaceElasticsearchSearchSyntax
-
encodeLongForAggregation
public com.google.gson.JsonElement encodeLongForAggregation(Long value)
- Specified by:
encodeLongForAggregationin interfaceElasticsearchSearchSyntax
-
-