Class BoostByValue


  • public class BoostByValue
    extends DslCloneable
    Boosts by multiple values of a field
    • Constructor Detail

      • BoostByValue

        public BoostByValue​(java.lang.String field,
                            java.util.List<KeyAndBoost> boosts)
    • Method Detail

      • getField

        public java.lang.String getField()
        Returns:
        a field to boost on
      • getBoosts

        public java.util.List<KeyAndBoost> getBoosts()
        Returns:
        a list of field values and boost values