Class BoostByValue
- java.lang.Object
-
- com.lucidworks.search.dsl.DslBase
-
- com.lucidworks.search.dsl.request.DslCloneable
-
- com.lucidworks.search.dsl.request.query.BoostByValue
-
public class BoostByValue extends DslCloneable
Boosts by multiple values of a field
-
-
Constructor Summary
Constructors Constructor Description BoostByValue(java.lang.String field, java.util.List<KeyAndBoost> boosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoostByValue
clone()
java.util.List<KeyAndBoost>
getBoosts()
java.lang.String
getField()
-
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneable
clone, deepClone
-
-
-
-
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
-
clone
public BoostByValue clone()
- Specified by:
clone
in classDslCloneable
-
-