|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Keyword
Representation of a keyword. Allows keywords to be any string. Contains several properties that may optionally be supported:
Method Summary | |
---|---|
String |
getRawString()
Returns the raw String (unstemmed) for this
Keyword (required). |
double |
getWeight()
Returns the weight for this Keyword (optional operation). |
boolean |
isExact()
Indicates this Keyword should not be stemmed (optional
operation). |
boolean |
isMandatory()
Indicates this Keyword is mandatory (optional operation). |
Method Detail |
---|
String getRawString()
String
(unstemmed) for this
Keyword
(required).
String
representation of this
Keyword
.double getWeight()
Keyword
(optional operation).
The weight must be on a scale of 0.0 (exclusive) to 1.0 (inclusive). If
determining keyword weights is not possible, a weight of 1.0
should be given.
Keyword
.boolean isMandatory()
Keyword
is mandatory (optional operation). The
default should be false
.
true
if this Keyword
must be included in
any results to a Query
, false
otherwise.boolean isExact()
Keyword
should not be stemmed (optional
operation). The default should be false
.
true
if this Keyword
should not be
stemmed for searches, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |