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

David Smiley commented on LUCENE-4616:
--------------------------------------

So #2 was the behavior in place; somewhat altered now since your commit 
yesterday.

I can understand the draw to #1 but leaving it completely undefined doesn't 
feel right to me.  How about this proposed definition:
{quote}
By default, the score should be a spatial relevance metric between 0 and 1 
where 1 is the most relevant.  This might happen internally via 
makeRecipDistanceValueSource() or it might be another algorithm left up to the 
Strategy.  If the Strategy or SpatialArgs is somehow configured to use 
something else, such as simply using the distance as the score, then that will 
override the default behavior.
{quote}
                
> Clarify what the score means in SpatialStrategy#makeQuery()
> -----------------------------------------------------------
>
>                 Key: LUCENE-4616
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4616
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Trivial
>
> SpatialStrategy#makeQuery() returns a Query, but the docs don't make it clear 
> with the score value should be.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to