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