Interface IBooleanSearchable

All Known Implementing Classes:
BooleanField

public interface IBooleanSearchable
  • Method Summary

    Modifier and Type
    Method
    Description
    co.elastic.clients.elasticsearch._types.query_dsl.Query
    eq(boolean value)
    Returns a query that will match all assets whose provided field has a value that exactly equals the provided boolean value.
    static co.elastic.clients.elasticsearch._types.query_dsl.Query
    eq(String field, boolean value)
    Returns a query that will match all assets whose provided field has a value that exactly equals the provided boolean value.
    Returns the name of the boolean field index for this attribute in Elastic.
  • Method Details

    • getBooleanFieldName

      String getBooleanFieldName()
      Returns the name of the boolean field index for this attribute in Elastic.
      Returns:
      the field name for the boolean index on this attribute
    • eq

      co.elastic.clients.elasticsearch._types.query_dsl.Query eq(boolean value)
      Returns a query that will match all assets whose provided field has a value that exactly equals the provided boolean value.
      Parameters:
      value - the value (boolean) to check the field's value is exactly equal to
      Returns:
      a query that will only match assets whose value for the field is exactly equal to the boolean value provided
    • eq

      static co.elastic.clients.elasticsearch._types.query_dsl.Query eq(String field, boolean value)
      Returns a query that will match all assets whose provided field has a value that exactly equals the provided boolean value.
      Parameters:
      field - name of the field to search
      value - the value (boolean) to check the field's value is exactly equal to
      Returns:
      a query that will only match assets whose value for the field is exactly equal to the boolean value provided