Interface MatchPredicateMatchingStep<N extends MatchPredicateOptionsStep<?>>

Type Parameters:
N - The type of the next step.
All Known Subinterfaces:
MatchPredicateFieldMoreStep<S,N>

public interface MatchPredicateMatchingStep<N extends MatchPredicateOptionsStep<?>>
The step in a "match" predicate definition where the value to match can be set.
  • Method Details

    • matching

      default N matching(Object value)
      Require at least one of the targeted fields to match the given value.

      This method will apply DSL converters to value before Hibernate Search attempts to interpret it as a field value. See ValueModel.MAPPING.

      Parameters:
      value - The value to match. The signature of this method defines this parameter as an Object, but a specific type is expected depending on the targeted field. See ValueModel.MAPPING for more information.
      Returns:
      The next step.
      See Also:
    • matching

      @Deprecated default N matching(Object value, ValueConvert convert)
      Deprecated.
      Require at least one of the targeted fields to match the given value.
      Parameters:
      value - The value to match. The signature of this method defines this parameter as an Object, but a specific type is expected depending on the targeted field and on the dslConverter parameter. See ValueConvert for more information.
      convert - Controls how the value should be converted before Hibernate Search attempts to interpret it as a field value. See ValueConvert for more information.
      Returns:
      The next step.
      See Also:
    • matching

      N matching(Object value, ValueModel valueModel)
      Require at least one of the targeted fields to match the given value.
      Parameters:
      value - The value to match. The signature of this method defines this parameter as an Object, but a specific type is expected depending on the targeted field and on the dslConverter parameter. See ValueModel for more information.
      valueModel - The model value, determines how the value should be converted before Hibernate Search attempts to interpret it as a field value. See ValueModel for more information.
      Returns:
      The next step.
      See Also: