Re: Need solr query help

2013-05-14 Thread Amit Nithian
Is it possible instead to store in your solr index a bounding box of store location + delivery radius, do a bounding box intersection between your user's point + radius (as a bounding box) and the shop's delivery bounding box. If you want further precision, the frange may work assuming it's a post-

Re: Need solr query help

2013-05-13 Thread smsolr
Hi Abhishek, I forgot to explain why it works. It uses the frange filter which is mentioned here:- http://wiki.apache.org/solr/CommonQueryParameters and it works because it filters in results where the geodist minus the shopMaxDeliveryDistance is less than zero (that's what the u=0 means, upper

Re: Need solr query help

2013-05-13 Thread smsolr
Hi Abhishek, I've had a look into this problem and have come up with a solution. Following instructions assume you have downloaded the 4.3.0 release of Solr from:- http://www.apache.org/dyn/closer.cgi/lucene/solr/4.3.0 First add to:- solr-4.3.0/solr/example/solr/collection1/conf/schema.xml th