[ 
https://issues.apache.org/jira/browse/LUCENE-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grant Ingersoll updated LUCENE-1790:
------------------------------------

      Description: 
Similar to the BoostingTermQuery, the BoostingFunctionTermQuery is a 
SpanTermQuery, but the difference is the payload score for a doc is not the 
average of all the payloads, but applies a function to them instead.  
BoostingTermQuery becomes a BoostingFunctionTermQuery with an 
AveragePayloadFunction applied to it.

Also add marker interface to indicate PayloadQuery types.  Refactor 
Similarity.scorePayload to also take in the doc id.

  was:Similar to the BoostingTermQuery, the BoostingFunctionTermQuery is a 
SpanTermQuery, but the difference is the payload score for a doc is not the 
average of all the payloads, but applies a function to them instead.  
BoostingTermQuery becomes a BoostingFunctionTermQuery with an 
AveragePayloadFunction applied to it.

    Lucene Fields: [Patch Available]  (was: [Patch Available, New])
          Summary: Add Boosting Function Term Query and Some Payload Query 
refactorings  (was: Boosting Function Term Query)

> Add Boosting Function Term Query and Some Payload Query refactorings
> --------------------------------------------------------------------
>
>                 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, LUCENE-1790.patch, LUCENE-1790.patch
>
>
> Similar to the BoostingTermQuery, the BoostingFunctionTermQuery is a 
> SpanTermQuery, but the difference is the payload score for a doc is not the 
> average of all the payloads, but applies a function to them instead.  
> BoostingTermQuery becomes a BoostingFunctionTermQuery with an 
> AveragePayloadFunction applied to it.
> Also add marker interface to indicate PayloadQuery types.  Refactor 
> Similarity.scorePayload to also take in the doc id.

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

Reply via email to