Class KeyAndBoost
- java.lang.Object
- 
- com.lucidworks.search.dsl.DslBase
- 
- com.lucidworks.search.dsl.request.DslCloneable
- 
- com.lucidworks.search.dsl.request.query.KeyAndBoost
 
 
 
- 
 public class KeyAndBoost extends DslCloneable A field value and boost value combination
- 
- 
Constructor SummaryConstructors Constructor Description KeyAndBoost(java.lang.String key, java.lang.Double boost)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyAndBoostclone()java.lang.DoublegetBoost()java.lang.StringgetKey()- 
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneableclone, deepClone
 
- 
 
- 
- 
- 
Method Detail- 
getKeypublic java.lang.String getKey() - Returns:
- the field value being boosted
 
 - 
getBoostpublic java.lang.Double getBoost() - Returns:
- a boost to apply to matches to the getKey()field. Must be positive. Though fractional values are accepted for users looking to minimize the impact of particular fields.
 
 - 
clonepublic KeyAndBoost clone() - Specified by:
- clonein class- DslCloneable
 
 
- 
 
-