| Modifier and Type | Field and Description |
|---|---|
static double |
NO_BOOST
Constant for no boost value.
|
| Constructor and Description |
|---|
DefaultTermValue()
Default constructor.
|
DefaultTermValue(Object value)
Constructs an EXACT term having no boost with given value.
|
DefaultTermValue(Object value,
double boostValue,
TermType type)
Constructs term with given arguments.
|
DefaultTermValue(Object value,
TermType type)
Constructs term having no boost with given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
TermValue |
boost(double boost) |
TermValue |
exact(Object exactValue) |
TermValue |
fuzzy(Object fuzzyValue) |
double |
getBoost() |
double |
getBoostValue() |
TermType |
getType() |
Object |
getValue() |
TermValue |
wildCard(Object termValue) |
public static final double NO_BOOST
public DefaultTermValue()
public DefaultTermValue(Object value)
value - The value.public DefaultTermValue(Object value, TermType type)
value - The value.type - The term type.public double getBoostValue()
getBoostValue in interface TermValuepublic TermType getType()
public double getBoost()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries