Package com.attivio.sdk.search.relevancy
Class FieldBoostFeature
- java.lang.Object
-
- com.attivio.sdk.search.relevancy.RelevancyFeatureDef
-
- com.attivio.sdk.search.relevancy.FieldBoostFeature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class FieldBoostFeature extends RelevancyFeatureDef
FieldExpression
based relevancy feature.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldBoostFeature(java.lang.String name, FieldExpression field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldBoostFeature
clone()
boolean
equals(java.lang.Object other)
long
estimatedSize()
FieldExpression
getField()
Get the field to use for boosting.int
hashCode()
void
setField(FieldExpression value)
Set the field to use for boosting.java.lang.String
toString()
-
Methods inherited from class com.attivio.sdk.search.relevancy.RelevancyFeatureDef
getName, setName
-
-
-
-
Constructor Detail
-
FieldBoostFeature
public FieldBoostFeature(java.lang.String name, FieldExpression field)
-
-
Method Detail
-
getField
public FieldExpression getField()
Get the field to use for boosting.
-
setField
public void setField(FieldExpression value)
Set the field to use for boosting.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRelevancyFeatureDef
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classRelevancyFeatureDef
-
clone
public FieldBoostFeature clone()
- Overrides:
clone
in classRelevancyFeatureDef
-
estimatedSize
public long estimatedSize()
- Overrides:
estimatedSize
in classRelevancyFeatureDef
-
-