[
https://issues.apache.org/jira/browse/LUCENE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740546#action_12740546
]
Mark Miller commented on LUCENE-1790:
-------------------------------------
Yeah, thats basically what I was thinking - then you could do min score or
whatever as well - .
Does it really needs all of those args though? I guess you could possibly do
more that way, but it almost seems you just need:
{code}
public interface PayloadAggregationFunction{
void aggregate(score);
float score();
}
{code}
> Boosting Max Term Query
> -----------------------
>
> Key: LUCENE-1790
> URL: https://issues.apache.org/jira/browse/LUCENE-1790
> Project: Lucene - Java
> Issue Type: New Feature
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 2.9
>
> Attachments: LUCENE-1790.patch
>
>
> Similar to the BoostingTermQuery, the BoostingMaxTermQuery is a
> SpanTermQuery, but the difference is the payload score for a doc is not the
> average of all the payloads, but the maximum instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]