You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/07/30 12:43:05 UTC

[jira] [Commented] (LUCENE-6706) Support Payload scoring for SpanOrQuery

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