What do you mean by "grouped"? It's relatively easy to return only documents within a certain radius, and it's also easy to return the results ordered by distance.
Here's a good place to start: http://wiki.apache.org/solr/SpatialSearch#geofilt_-_The_distance_filter Best Erick On Tue, Apr 24, 2012 at 6:33 AM, ViruS <svi...@gmail.com> wrote: > I think this only can works when I have many records in same position. > My problem is to group witch short distance... like I say in last mail... > about 10km. > I need put markers on Poland country and display this. > Now I have 100k records, but in future I will have about 2mln records so I > must send grouped records. > > Best, > Piotr > > On 24 April 2012 12:08, ravicv <ravichandra...@gmail.com> wrote: > >> Use group=true and group.field in your query. >> And your solr version should be solr 3.4 and above. >> >> Thanks, >> Ravi >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Group-by-distance-tp3934876p3934886.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > > > > -- > Piotr (ViruS) Sikora > E-mail/JID: vi...@hostv.pl > http://piotrsikora.pl