|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.sesat.search.query.token.VeryFastTokenEvaluator
public final class VeryFastTokenEvaluator
VeryFastTokenEvaluator is part of no.sesat.search.query.
| Field Summary | |
|---|---|
static String |
VERYFAST_EVALUATOR_XMLFILE
The configuration file from the skin that specifies token predicate to list mappings. |
| Method Summary | |
|---|---|
boolean |
evaluateToken(TokenPredicate token,
String term,
String query)
Evaluate the token with regards to query. |
Set<String> |
getMatchValues(TokenPredicate token,
String term)
Each true evaluation may also provide a synonym (or "match value"). |
boolean |
isQueryDependant(TokenPredicate predicate)
|
boolean |
isResponsibleFor(TokenPredicate predicate)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VERYFAST_EVALUATOR_XMLFILE
| Method Detail |
|---|
public boolean evaluateToken(TokenPredicate token,
String term,
String query)
TokenEvaluatortoken with regards to query.
This usually means to check if the token occurs in query, but there are
other possibilities such as tokens that always evaluates to true.
evaluateToken in interface TokenEvaluatorterm - the token to look for.
public Set<String> getMatchValues(TokenPredicate token,
String term)
TokenEvaluator
getMatchValues in interface TokenEvaluatorpublic boolean isQueryDependant(TokenPredicate predicate)
isQueryDependant in interface TokenEvaluatorpublic boolean isResponsibleFor(TokenPredicate predicate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||