You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Keegan (JIRA)" <ji...@apache.org> on 2013/02/28 19:51:13 UTC

[jira] [Closed] (LUCENE-1093) SpanFirstQuery modification to aid term boosting based on position.

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

Peter Keegan closed LUCENE-1093.
--------------------------------

    Resolution: Fixed
    
> SpanFirstQuery modification to aid term boosting based on position.
> -------------------------------------------------------------------
>
>                 Key: LUCENE-1093
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1093
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/query/scoring
>            Reporter: Peter Keegan
>            Priority: Minor
>         Attachments: SpanFirst20071219.patch, TestBasics20071227.patch
>
>
> This is a request for a modification to SpanFirstQuery that would allow term boosting based on a term's distance from the beginning of the document.
> This modification to SpanFirstQuery would be that the Spans returned by SpanFirstQuery.getSpans() must always return 0 from its start() method. Then the slop passed to sloppyFreq(slop) would be the distance from the beginning of the indexed field to the end of the Spans of the SpanQuery passed to SpanFirstQuery.
> Here is the discussion behind this issue:
> http://www.nabble.com/Can-I-do-boosting-based-on-term-postions--to11939423.html#a11939423

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org