Package com.yahoo.search.query.rewrite.rewriters


@ExportPackage @PublicApi package com.yahoo.search.query.rewrite.rewriters
  • Classes
    Class
    Description
    This rewriter would add rewrites to entities (e.g abbreviation, synonym, etc)
    to boost precision - FSA dict: [normalized original query]\t[rewrite 1]\t[rewrite 2]\t[etc]
    - Features:
    RewritesAsUnitEquiv flag: add proximity boosted rewrites
    PartialPhraseMatch flag: whether to match whole phrase or partial phrase
    MaxRewrites flag: the maximum number of rewrites to be added
    This rewriter would retrieve spell corrected query from QLAS and add it to the original query tree as equiv
    - Features:
    RewritesAsEquiv flag: add rewrites to original query as equiv
    This rewriter would add rewrites to name entities to boost precision
    - FSA dict: [normalized original query]\t[rewrite 1]\t[rewrite 2]\t[etc]
    - Features:
    OriginalAsUnit flag: add proximity boosting to original query
    RewritesAsUnitEquiv flag: add proximity boosted rewrites to original query
    RewritesAsEquiv flag: add rewrites to original query