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

Alan Woodward commented on LUCENE-6706:
---------------------------------------

I think rather than having a whole bunch of Span*Query clones that deal with 
Payloads, this would be better done by having a generic PayloadSpanQuery that 
wraps another SpanQuery and takes a payload function.  The new spancollection 
API should make this pretty easy - let me see if I can work something up for it.

> Support Payload scoring for SpanOrQuery
> ---------------------------------------
>
>                 Key: LUCENE-6706
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6706
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/query/scoring
>    Affects Versions: 5.2.1
>            Reporter: Jamie Johnson
>            Priority: Minor
>         Attachments: PayloadSpanOrQuery.java
>
>
> I need a way to have payloads influence the score of SpanOrQuery's.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to