Interface MultiFieldPredicateFieldBoostStep<S>

Type Parameters:
S - The "self" type (the actual exposed type of this step)
All Known Subinterfaces:
CommonQueryStringPredicateFieldMoreStep<SR,S,N,FR>, MatchPredicateFieldMoreGenericStep<S,N,T,V>, MatchPredicateFieldMoreStep<S,N>, PhrasePredicateFieldMoreStep<SR,S,N>, PrefixPredicateFieldMoreStep<SR,S,N>, QueryStringPredicateFieldMoreStep<SR,S,N>, RangePredicateFieldMoreGenericStep<SR,S,N,V,T>, RangePredicateFieldMoreStep<SR,S,N>, RegexpPredicateFieldMoreStep<SR,S,N>, SimpleQueryStringPredicateFieldMoreStep<SR,S,N>, SpatialWithinPredicateFieldMoreStep<SR,S,N>, TermsPredicateFieldMoreStep<SR,S,N>, WildcardPredicateFieldMoreStep<SR,S,N>

public interface MultiFieldPredicateFieldBoostStep<S>
The step in a predicate definition where the boost of the last added field(s) can be set.
  • Method Summary

    Modifier and Type
    Method
    Description
    boost(float boost)
    Boost the weight of the last added set of fields in score computation.
  • Method Details

    • boost

      S boost(float boost)
      Boost the weight of the last added set of fields in score computation.
      Parameters:
      boost - The boost factor. Higher than 1 increases the weight in score computation, between 0 and 1 lowers the weight. Lower than 0 is for experts only.
      Returns:
      this, for method chaining.