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.IdsQuery
Deprecated, for removal: This API element is subject to removal in a future version.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.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.static co.elastic.clients.elasticsearch._types.LatLonGeoLocation
Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.MatchAllQuery
Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.Query
Deprecated, for removal: This API element is subject to removal in a future version.static co.elastic.clients.elasticsearch._types.query_dsl.MatchQuery
matchQuery
(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.Query
matchQueryAsQuery
(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.QueryStringQuery
queryStringQuery
(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.QueryStringQuery
queryStringQuery
(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.QueryStringQuery
queryStringQuery
(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.QueryStringQuery
queryStringQuery
(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.TermQuery
Deprecated, for removal: This API element is subject to removal in a future version.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.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.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.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.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.
-
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.
-
Queries
instead.