Class QueryBuilders
java.lang.Object
org.springframework.data.elasticsearch.client.elc.QueryBuilders
Deprecated, for removal: This API element is subject to removal in a future version.
Utility class simplifying the creation of some more complex queries and type.
- Since:
- 4.4
- Author:
- Peter-Josef Meisch
-
Method Summary
Modifier and TypeMethodDescriptionstatic co.elastic.clients.elasticsearch._types.query_dsl.IdsQueryDeprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QueryidsQueryAsQuery(List<String> ids) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.LatLonGeoLocationlatLon(double lat, double lon) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.LatLonGeoLocationDeprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.MatchAllQueryDeprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QueryDeprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.MatchQuerymatchQuery(String fieldName, String query, co.elastic.clients.elasticsearch._types.query_dsl.Operator operator, Float boost) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QuerymatchQueryAsQuery(String fieldName, String query, co.elastic.clients.elasticsearch._types.query_dsl.Operator operator, Float boost) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQueryqueryStringQuery(String fieldName, String query, co.elastic.clients.elasticsearch._types.query_dsl.Operator defaultOperator, Float boost) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQueryqueryStringQuery(String fieldName, String query, Boolean analyzeWildcard, co.elastic.clients.elasticsearch._types.query_dsl.Operator defaultOperator, Float boost) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQueryqueryStringQuery(String fieldName, String query, Boolean analyzeWildcard, Float boost) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQueryqueryStringQuery(String fieldName, String query, Float boost) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.TermQueryDeprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QuerytermQueryAsQuery(String fieldName, String value) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.WildcardQuerywildcardQuery(String field, String value) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QuerywildcardQueryAsQuery(String field, String value) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.WrapperQuerywrapperQuery(String query) Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.QuerywrapperQueryAsQuery(String query) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
idsQuery
Deprecated, for removal: This API element is subject to removal in a future version. -
idsQueryAsQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.Query idsQueryAsQuery(List<String> ids) Deprecated, for removal: This API element is subject to removal in a future version. -
matchQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.MatchQuery matchQuery(String fieldName, String query, @Nullable co.elastic.clients.elasticsearch._types.query_dsl.Operator operator, @Nullable Float boost) Deprecated, for removal: This API element is subject to removal in a future version. -
matchQueryAsQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.Query matchQueryAsQuery(String fieldName, String query, @Nullable co.elastic.clients.elasticsearch._types.query_dsl.Operator operator, @Nullable Float boost) Deprecated, for removal: This API element is subject to removal in a future version. -
matchAllQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.MatchAllQuery matchAllQuery()Deprecated, for removal: This API element is subject to removal in a future version. -
matchAllQueryAsQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.Query matchAllQueryAsQuery()Deprecated, for removal: This API element is subject to removal in a future version. -
queryStringQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQuery queryStringQuery(String fieldName, String query, @Nullable Float boost) Deprecated, for removal: This API element is subject to removal in a future version. -
queryStringQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQuery queryStringQuery(String fieldName, String query, co.elastic.clients.elasticsearch._types.query_dsl.Operator defaultOperator, @Nullable Float boost) Deprecated, for removal: This API element is subject to removal in a future version. -
queryStringQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQuery queryStringQuery(String fieldName, String query, @Nullable Boolean analyzeWildcard, @Nullable Float boost) Deprecated, for removal: This API element is subject to removal in a future version. -
queryStringQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQuery queryStringQuery(String fieldName, String query, @Nullable Boolean analyzeWildcard, @Nullable co.elastic.clients.elasticsearch._types.query_dsl.Operator defaultOperator, @Nullable Float boost) Deprecated, for removal: This API element is subject to removal in a future version. -
termQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.TermQuery termQuery(String fieldName, String value) Deprecated, for removal: This API element is subject to removal in a future version. -
termQueryAsQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.Query termQueryAsQuery(String fieldName, String value) Deprecated, for removal: This API element is subject to removal in a future version. -
wildcardQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.WildcardQuery wildcardQuery(String field, String value) Deprecated, for removal: This API element is subject to removal in a future version. -
wildcardQueryAsQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.Query wildcardQueryAsQuery(String field, String value) Deprecated, for removal: This API element is subject to removal in a future version. -
wrapperQueryAsQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.Query wrapperQueryAsQuery(String query) Deprecated, for removal: This API element is subject to removal in a future version. -
wrapperQuery
public static co.elastic.clients.elasticsearch._types.query_dsl.WrapperQuery wrapperQuery(String query) Deprecated, for removal: This API element is subject to removal in a future version. -
latLon
Deprecated, for removal: This API element is subject to removal in a future version. -
latLon
public static co.elastic.clients.elasticsearch._types.LatLonGeoLocation latLon(double lat, double lon) Deprecated, for removal: This API element is subject to removal in a future version.
-
Queriesinstead.