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

2017-08-09 Thread Erik Hatcher (JIRA)

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

Erik Hatcher commented on SOLR-11199:
-

Nice work Varun!   Both `sum` and `phrase`/`or` - handy improvements!

> 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
>Assignee: Varun Thacker
> Fix For: master (8.0), 7.1
>
> Attachments: SOLR-11199.patch, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2017-08-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-11199:


Commit 6389200bd15e5b1c39a8c9af3be58affdfafb847 in lucene-solr's branch 
refs/heads/branch_7x from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6389200 ]

SOLR-11199: Support OR queries in the PayloadScoreParser and a sum function


> 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
>Assignee: Varun Thacker
> Attachments: SOLR-11199.patch, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2017-08-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-11199:


Commit 7ed0a40eaab2510cfbc4dba5353e55806a3b0c02 in lucene-solr's branch 
refs/heads/master from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7ed0a40 ]

SOLR-11199: Support OR queries in the PayloadScoreParser and a sum function


> 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
>Assignee: Varun Thacker
> Attachments: SOLR-11199.patch, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2017-08-04 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-11199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org