Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5053

Dynamic query analyze chain

    XMLWordPrintableJSON

Details

    Description

      Give the ability to decide during query time which analysis chain a specific query should under go.

      Typical use case is a multi-language index that is not indexed to a field for each language (or cannot due to multi-language docs or resource limitation). Although the text during index time goes through stemmers of language A and language B, there's no reason for a user quering in language A having to under go a stemmer of language B - this would definitely lower down the precision.
      Another use case is if the user does not wish his specific query to get N-grammed / synonymed or any other process that the standard analysis during query does.

      A query parser implementation should enable quering a dummy field (or fieldType) and after the latter's analysis the analysed query would run against another field.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              manuel lenormand Manuel Lenormand
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: