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

Support OR queries in the Payload Score Parser

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      PayloadScoreQParserPlugin always creates a SpanNearQuery.

      In my use-case I want to be able to do an OR query and then use a sum function to sum up all the scores.

      So if the PayloadScoreQParserPlugin supported an operator param which could be used to pick between phrase searches ( the default currently ) OR and ANDs

        Attachments

        1. SOLR-11199.patch
          9 kB
          Varun Thacker
        2. SOLR-11199.patch
          11 kB
          Varun Thacker

          Activity

            People

            • Assignee:
              varunthacker Varun Thacker
              Reporter:
              varunthacker Varun Thacker
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: