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.Cloneable
Experimental 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 int
boost
protected int
completeness
protected java.lang.String
name
-
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.ScopeBoost
clone()
boolean
equals(java.lang.Object other)
int
getBoost()
Get the boost value for this ScopeBoost.int
getCompleteness()
Get the completeness boost value for this ScopeBoost.java.lang.String
getName()
Get the scope name for this ScopeBoost.int
hashCode()
java.lang.String
toString()
-
-
-
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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
clone
public PhraseBoostFeature.ScopeBoost clone()
- Overrides:
clone
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-