java.lang.Object
org.springframework.data.elasticsearch.client.elc.QueryBuilders

@Deprecated(forRemoval=true) public final class QueryBuilders extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.1, use Queries instead.
Utility class simplifying the creation of some more complex queries and type.
Since:
4.4
Author:
Peter-Josef Meisch
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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
    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
    latLon(GeoPoint geoPoint)
    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
    termQuery(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.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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static co.elastic.clients.elasticsearch._types.query_dsl.WrapperQuery
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • idsQuery

      public static co.elastic.clients.elasticsearch._types.query_dsl.IdsQuery idsQuery(List<String> ids)
      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

      public static co.elastic.clients.elasticsearch._types.LatLonGeoLocation latLon(GeoPoint geoPoint)
      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.