On Thu, Oct 13, 2011 at 9:55 AM, Mikhail Khludnev <mkhlud...@griddynamics.com> wrote: > is it possible with geofilt and facet.query? > > facet.query={!geofilt pt=45.15,-93.85 sfield=store d=5}
Yes, that should be both possible and faster... something along the lines of: &sfield=store&pt=45.15,-93.85 &facet.query={!geofilt d=10 key=d10} &facet.query={!geofilt d=20 key=d20} &facet.query={!geofilt d=50 key=d50} Eventually we should implement range faceting over functions and also add a max distance you care about to the geodist function. -Yonik http://www.lucene-eurocon.com - The Lucene/Solr User Conference > On Thu, Oct 13, 2011 at 4:20 PM, roySolr <royrutten1...@gmail.com> wrote: > >> I don't want to use some basic facets. When the user doesn't get any >> results >> i want >> to search in the radius of his search location. Example: >> >> apple store in Manchester gives no result. I want this: >> >> Click here to see 2 results in a radius of 10km. >> Click here to see 11 results in a radius of 50km. >> Click here to see 19 results in a radius of 100km. >> >> With geodist() and facet.query is this possible but the performance isn't >> very good.. >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Performance-issue-Frange-with-geodist-tp3417962p3418429.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > > > > -- > Sincerely yours > Mikhail (Mike) Khludnev > Developer > Grid Dynamics > tel. 1-415-738-8644 > Skype: mkhludnev > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com> >