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

Add query re-ranking with the ReRankingQParserPlugin

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9
    • Component/s: search
    • Labels:
      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

              • Assignee:
                joel.bernstein Joel Bernstein
                Reporter:
                joel.bernstein Joel Bernstein
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: