[
https://issues.apache.org/jira/browse/SOLR-11199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Thacker updated SOLR-11199:
---------------------------------
Attachment: SOLR-11199.patch
Quick patch which adds an "operator" parameter where you can specify the query
to be an or query or phrase.
It also introduces a sum payload function since it will be useful when doing an
or query.
Needs some code cleanup and better validation.
I'm going to first validate why is {{TestPayloadScoreQParserPlugin#test}}
calling {[clearIndex();}} before running the queries
> Support OR queries in the Payload Score Parser
> -----------------------------------------------
>
> Key: SOLR-11199
> URL: https://issues.apache.org/jira/browse/SOLR-11199
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Varun Thacker
> Attachments: SOLR-11199.patch
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]