Class RewriterConstants

java.lang.Object
com.yahoo.search.query.rewrite.RewriterConstants

public class RewriterConstants extends Object
Contains common constant strings used by rewriters
Author:
Karen Sze Wing Lee
  • Field Details

    • ORIGINAL_AS_UNIT

      public static final String ORIGINAL_AS_UNIT
      Config flag for addUnitToOriginalQuery
      See Also:
    • ORIGINAL_AS_UNIT_EQUIV

      public static final String ORIGINAL_AS_UNIT_EQUIV
      Config flag for addUnitEquivToOriginalQuery
      See Also:
    • REWRITES_AS_EQUIV

      public static final String REWRITES_AS_EQUIV
      Config flag for addRewritesAsEquiv(false)
      See Also:
    • REWRITES_AS_UNIT_EQUIV

      public static final String REWRITES_AS_UNIT_EQUIV
      Config flag for addRewritesAsEquiv(true)
      See Also:
    • PARTIAL_PHRASE_MATCH

      public static final String PARTIAL_PHRASE_MATCH
      Config flag for addExpansions
      See Also:
    • MAX_REWRITES

      public static final String MAX_REWRITES
      Config flag for max number of rewrites added per rewriter
      See Also:
    • QSS_RW

      public static final String QSS_RW
      Config flag for considering QSS Rewrite in spell correction
      See Also:
    • QSS_SUGG

      public static final String QSS_SUGG
      Config flag for considering QSS Suggest in spell correction
      See Also:
    • EXPANSION_INDEX

      public static final String EXPANSION_INDEX
      Config flag for expansion index name
      See Also:
    • REWRITER_CHAIN

      public static final String REWRITER_CHAIN
      Name for market chain retrieval from user param
      See Also:
    • REWRITE_META

      public static final com.yahoo.processing.request.CompoundName REWRITE_META
      Name for rewrite metadata retrieval from query properties
    • REWRITTEN

      public static final String REWRITTEN
      Name for rewritten field retrieval from query properties
      See Also:
    • DICT_KEY

      public static final String DICT_KEY
      Name for new dictionary key field retrieval from query properties
      See Also:
    • DEFAULT_DICT_DIR

      public static final String DEFAULT_DICT_DIR
      Default dictionaries dir
  • Constructor Details

    • RewriterConstants

      public RewriterConstants()