Package com.yahoo.search.query.rewrite
Class RewriterConstants
java.lang.Object
com.yahoo.search.query.rewrite.RewriterConstants
Contains common constant strings used by rewriters
- Author:
- Karen Sze Wing Lee
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Default dictionaries dirstatic final String
Name for new dictionary key field retrieval from query propertiesstatic final String
Config flag for expansion index namestatic final String
Config flag for max number of rewrites added per rewriterstatic final String
Config flag for addUnitToOriginalQuerystatic final String
Config flag for addUnitEquivToOriginalQuerystatic final String
Config flag for addExpansionsstatic final String
Config flag for considering QSS Rewrite in spell correctionstatic final String
Config flag for considering QSS Suggest in spell correctionstatic final com.yahoo.processing.request.CompoundName
Name for rewrite metadata retrieval from query propertiesstatic final String
Name for market chain retrieval from user paramstatic final String
Config flag for addRewritesAsEquiv(false)static final String
Config flag for addRewritesAsEquiv(true)static final String
Name for rewritten field retrieval from query properties -
Constructor Summary
-
Method Summary
-
Field Details
-
ORIGINAL_AS_UNIT
Config flag for addUnitToOriginalQuery- See Also:
-
ORIGINAL_AS_UNIT_EQUIV
Config flag for addUnitEquivToOriginalQuery- See Also:
-
REWRITES_AS_EQUIV
Config flag for addRewritesAsEquiv(false)- See Also:
-
REWRITES_AS_UNIT_EQUIV
Config flag for addRewritesAsEquiv(true)- See Also:
-
PARTIAL_PHRASE_MATCH
Config flag for addExpansions- See Also:
-
MAX_REWRITES
Config flag for max number of rewrites added per rewriter- See Also:
-
QSS_RW
Config flag for considering QSS Rewrite in spell correction- See Also:
-
QSS_SUGG
Config flag for considering QSS Suggest in spell correction- See Also:
-
EXPANSION_INDEX
Config flag for expansion index name- See Also:
-
REWRITER_CHAIN
Name for market chain retrieval from user param- See Also:
-
REWRITE_META
public static final com.yahoo.processing.request.CompoundName REWRITE_METAName for rewrite metadata retrieval from query properties -
REWRITTEN
Name for rewritten field retrieval from query properties- See Also:
-
DICT_KEY
Name for new dictionary key field retrieval from query properties- See Also:
-
DEFAULT_DICT_DIR
Default dictionaries dir
-
-
Constructor Details
-
RewriterConstants
public RewriterConstants()
-