Interface ESHintQueryBuilder

All Known Implementing Classes:
AbstractGeoESHintQueryBuilder, CommonESHintQueryBuilder, FuzzyESHintQueryBuilder, GeoBoundingBoxESHintQueryBuilder, GeoDistanceESHintQueryBuilder, GeoShapeESHintQueryBuilder, MatchESHintQueryBuilder, MatchPhraseESHintQueryBuilder, MatchPhrasePrefixESHintQueryBuilder, MoreLikeThisESHintQueryBuilder, MultiMatchESHintQueryBuilder, QueryStringESHintQueryBuilder, RegexESHintQueryBuilder, SimpleQueryStringESHintQueryBuilder, WildcardESHintQueryBuilder

public interface ESHintQueryBuilder
Converts an NXQL Elasticsearch Hint into QueryBuilder.
Since:
11.1
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensearch.index.query.QueryBuilder
    make(EsHint hint, String fieldName, Object value)
    Builds the Elasticsearch QueryBuilder.
  • Method Details

    • make

      org.opensearch.index.query.QueryBuilder make(EsHint hint, String fieldName, Object value)
      Builds the Elasticsearch QueryBuilder.
      Parameters:
      hint - the elasticsearch hint
      fieldName - the elasticsearch field name
      value - the value that we are looking for
      Returns:
      the QueryBuilder corresponding to the elasticsearch hint