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

Add query re-ranking with the ReRankingQParserPlugin

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9
    • search
    • None

    Description

      This ticket introduces the ReRankingQParserPlugin which adds query Reranking/Rescoring for Solr. It leverages the new RankQuery framework to plug-in the new Lucene QueryRescorer.

      See ticket LUCENE-5489 for details on the use case.

      Sample syntax:

      q=*:*&rq={!rerank reRankQuery=$rqq reRankDocs=200 reRankWeight=3}
      

      In the example above the mainQuery is executed and 200 docs are collected and re-ranked based on the results of the reRankQuery.

      Attachments

        1. SOLR-6088.patch
          14 kB
          Joel Bernstein
        2. SOLR-6088.patch
          16 kB
          Joel Bernstein
        3. SOLR-6088.patch
          21 kB
          Joel Bernstein
        4. SOLR-6088.patch
          30 kB
          Joel Bernstein
        5. SOLR-6088.patch
          46 kB
          Joel Bernstein

        Issue Links

          Activity

            People

              jbernste Joel Bernstein
              jbernste Joel Bernstein
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: