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

Support OR queries in the Payload Score Parser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1, 8.0
    • None
    • 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
          11 kB
          Varun Thacker
        2. SOLR-11199.patch
          9 kB
          Varun Thacker

        Activity

          People

            varun Varun Thacker
            varun Varun Thacker
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: