Hello, I am using solr 4.2.1. I have the following use case.
I should find results inside bbox OR if there is none, first result outside bbox within a 1000 km distance. I was wondering what is the best way to proceed. I was considering doing a geofilt search from the center of my bounding box and post filtering results. fq={!geofilt sfield=store}&pt=45.15,-93.85&d=1000 >From a performance point of view I don't think it's a good solution though, since solr will have to calculate every document distance, then sort. I was wondering if there was another way to do this and avoid sending more than one request to solr. Thanks, Elisabeth