Interface SimpleQueryStringMatchingContext

All Superinterfaces:
SimpleQueryStringDefinitionTermination

@Deprecated public interface SimpleQueryStringMatchingContext extends SimpleQueryStringDefinitionTermination
Deprecated.
See the deprecation note on QueryBuilder.
Author:
Guillaume Smet
  • Method Details

    • boostedTo

      SimpleQueryStringMatchingContext boostedTo(float boost)
      Deprecated.
      Boost the field to a given value Most of the time positive float: - lower than 1 to diminish the weight - higher than 1 to increase the weight Could be negative but not unless you understand what is going on (advanced)
      Parameters:
      boost - the value to use as boost
      Returns:
      this for method chaining
    • andField

      Deprecated.
      Field the query is executed on.
      Parameters:
      field - The absolute path of an index field.
      Returns:
      this for method chaining
    • andFields

      Deprecated.
      Fields the query is executed on.
      Parameters:
      field - The absolute path of an index field.
      Returns:
      this for method chaining
    • withAndAsDefaultOperator

      SimpleQueryStringDefinitionTermination withAndAsDefaultOperator()
      Deprecated.
      Define the default operator as AND.
      Returns:
      this for method chaining