Re: Solr 4.5 spatial search - distance and score

2013-09-13 Thread David Smiley (@MITRE.org)
Hi Weber, Returning the distance separately from the score is really awkward without being able to use geodist() (which is coming in Solr 4.5 for the RPT spatial field). But as you note in SOLR-4255 it is possible. If you modify the Solr example schema so that the 'store' spatial field is of type

Re: Solr 4.5 spatial search - distance and score

2013-09-13 Thread Bill Bell
You can apply his 4.5 patches to 4.4 or take trunk and it is there Bill Bell Sent from mobile On Sep 12, 2013, at 6:23 PM, Weber wrote: > I'm trying to get score by using a custom boost and also get the distance. I > found David's code* to get it using "Intersects", which I want to replace by

Solr 4.5 spatial search - distance and score

2013-09-12 Thread Weber
I'm trying to get score by using a custom boost and also get the distance. I found David's code* to get it using "Intersects", which I want to replace by {!geofilt} or geodist() *David's code: https://issues.apache.org/jira/browse/SOLR-4255 He told me geodist() will be available again for this ki