lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (LUCENE-1790) Add Boosting Function Term Query and Some Payload Query refactorings
Date Thu, 13 Aug 2009 21:05:14 GMT

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

Grant Ingersoll edited comment on LUCENE-1790 at 8/13/09 2:03 PM:
------------------------------------------------------------------

Going to reopen and see about passing along the position information into both the new scorePayload()
method and into the PayloadFunction, as it may be useful to know this information when scoring
payloads.

      was (Author: gsingers):
    Going to reopen and actually pass along the Term and the position information into both
the new scorePayload() method and into the PayloadFunction, as it may be useful to know this
information when scoring payloads.
  
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message