Package com.attivio.sdk.search.relevancy
Class PhraseBoostFeature.ScopeBoost
- java.lang.Object
-
- com.attivio.sdk.search.relevancy.PhraseBoostFeature.ScopeBoost
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
- Enclosing class:
- PhraseBoostFeature
public static final class PhraseBoostFeature.ScopeBoost extends java.lang.Object implements java.io.Serializable, java.lang.CloneableExperimental boost for phrases that match in specified scopes.This boost will increase the weight of the frequency score for a match in a specified scope.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intboostprotected intcompletenessprotected java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description ScopeBoost(java.lang.String name, int boost)ScopeBoost(java.lang.String name, int boost, int completeness)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhraseBoostFeature.ScopeBoostclone()booleanequals(java.lang.Object other)intgetBoost()Get the boost value for this ScopeBoost.intgetCompleteness()Get the completeness boost value for this ScopeBoost.java.lang.StringgetName()Get the scope name for this ScopeBoost.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the scope name for this ScopeBoost.
-
getBoost
public int getBoost()
Get the boost value for this ScopeBoost.
-
getCompleteness
public int getCompleteness()
Get the completeness boost value for this ScopeBoost.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
clone
public PhraseBoostFeature.ScopeBoost clone()
- Overrides:
clonein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-