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

Bill Bell commented on SOLR-3230:
---------------------------------

Ohh. Using exampledate. Score is the distance haversine.

http://localhost:8983/solr/select?q={!func}geodist()&fl=score,store&sort=score 
asc&sfield=store&d=348&fq={!geofilt}&pt=45.19614,-93.90341
-- returns 7

http://localhost:8983/solr/select?q={!func}geodist()&fl=score,store&sort=score 
asc&sfield=store&d=347&fq={!geofilt}&pt=45.19614,-93.90341
-- returns 6

http://localhost:8983/solr/select?q={!func}geodist()&fl=score,store&sort=score 
asc&sfield=store&d=347&fq={!bbox}&pt=45.19614,-93.90341
-- returns 7 (since it is not accurate)
                
> Performance improvement for geofilt by doing a bbox approximation and then 
> Filter
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-3230
>                 URL: https://issues.apache.org/jira/browse/SOLR-3230
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Bill Bell
>            Assignee: Grant Ingersoll
>             Fix For: 4.0
>
>         Attachments: SOLR-3230.patch
>
>
> This changes {!geofilt} to use a bounding box and then does a accurate filter.
> See attachment

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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