Would it serve to sort by distance? True, if you matched a zillion documents within a 1km radius you'd still perform the distance calcs, but the result would be a manageable number.
I have to ask "Why to you care?". Is this an efficiency question (i.e. you want to keep Solr from having to do expensive work) or is it a question of having to get hits at all? It's at least possible that the solution for one is not the solution for the other. Best, Erick On Wed, Jun 21, 2017 at 5:32 PM, deniz <denizdurmu...@gmail.com> wrote: > it is for sure possible to use d value for limiting the distance, however, > it > might not be very efficient, as some of the coords may not have any docs > around for a large value of d... so it is hard to determine a default value > for d. > > though it sounds like havinga default d and gradual increments on its value > might be a work around for top K results... > > > > > > ----- > Zeki ama calismiyor... Calissa yapar... > -- > View this message in context: http://lucene.472066.n3. > nabble.com/Spatial-Search-based-on-the-amount-of-docs-not-the-distance- > tp4342108p4342258.html > Sent from the Solr - User mailing list archive at Nabble.com. >