I mean many group's show on map... something like markercluster: http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/1.0/examples/speed_test_example.html
But I don't want to send all my records to browser. I find workaround to make field wiitch lower precission geocoding: $lat = float($lat,5); $lng = float($lng,5); $solr['geo_city'] = "$lat,$lng"; And after indexing i can use normal group on this field. On 24 April 2012 17:06, Erick Erickson <erickerick...@gmail.com> wrote: > 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 > -- Piotr (ViruS) Sikora E-mail/JID: vi...@hostv.pl http://piotrsikora.pl