You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2017/08/04 19:50:00 UTC

[jira] [Commented] (SOLR-11199) Support OR queries in the Payload Score Parser

    [ https://issues.apache.org/jira/browse/SOLR-11199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114885#comment-16114885 ] 

Erik Hatcher commented on SOLR-11199:
-------------------------------------

Yeah, the SpanNearQuery approach was really just the first pass until something better and more flexible came along to create SpanQuery's from some (likely) payloaded terms.

> 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
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org