public class PhraseBoostFeature extends RelevancyFeatureDef implements Iterable<PhraseBoostFeature.ScopeBoost>
Modifier and Type | Class and Description |
---|---|
static class |
PhraseBoostFeature.ScopeBoost
Experimental boost for phrases that match in specified scopes.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DISTANCE |
static int |
DEFAULT_MINIMUM |
static boolean |
DEFAULT_ORDERED |
protected static ScoreMode |
DEFAULT_SCORE_MODE |
Constructor and Description |
---|
PhraseBoostFeature(String name) |
getName, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final int DEFAULT_MINIMUM
public static final int DEFAULT_DISTANCE
public static final boolean DEFAULT_ORDERED
protected static final ScoreMode DEFAULT_SCORE_MODE
public PhraseBoostFeature(String name)
public String getScope()
public void setScope(String value)
public int getMinimum()
public void setMinimum(int value)
public int getDistance()
public void setDistance(int value)
public boolean isOrdered()
public void setOrdered(boolean value)
public boolean isCompleteness()
public void setCompleteness(boolean value)
@Deprecated public boolean isExactMatch()
@Deprecated public void setExactMatch(boolean value)
public void addScopeBoost(PhraseBoostFeature.ScopeBoost value)
EXPERIMENTAL: Scope boosts are currently experimental and may change and/or be removed in the future.
public List<PhraseBoostFeature.ScopeBoost> getScopeBoosts()
EXPERIMENTAL: Scope boosts are currently experimental and may change and/or be removed in the future.
public void setScopeBoosts(List<PhraseBoostFeature.ScopeBoost> value)
EXPERIMENTAL: Scope boosts are currently experimental and may change and/or be removed in the future.
public Iterator<PhraseBoostFeature.ScopeBoost> iterator()
iterator
in interface Iterable<PhraseBoostFeature.ScopeBoost>
public int hashCode()
public boolean equals(Object other)
public PhraseBoostFeature clone()
public String getField()
public void setField(String value)
public FieldExpression getWeight()
public void setWeight(FieldExpression value)
public void setSourceFields(String... value)
public ScoreMode getScoreMode()
public void setScoreMode(ScoreMode value)
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.