Interface QueryCommand.FieldQueryBuilder

Enclosing class:
QueryCommand

protected static interface QueryCommand.FieldQueryBuilder
Functional interface for building field-specific query builders.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensearch.index.query.QueryBuilder
    buildQuery(String field, String text, float boost)
    Builds a query builder for the specified field and text.
  • Method Details

    • buildQuery

      org.opensearch.index.query.QueryBuilder buildQuery(String field, String text, float boost)
      Builds a query builder for the specified field and text.
      Parameters:
      field - The field name.
      text - The query text.
      boost - The boost value.
      Returns:
      The created query builder.