Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF4D4109C5 for ; Wed, 29 Jan 2014 15:39:30 +0000 (UTC) Received: (qmail 67516 invoked by uid 500); 29 Jan 2014 15:39:25 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 67401 invoked by uid 500); 29 Jan 2014 15:39:24 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 67393 invoked by uid 99); 29 Jan 2014 15:39:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jan 2014 15:39:24 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HEADER_SPAM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of guido.medina@temetra.com designates 193.120.94.35 as permitted sender) Received: from [193.120.94.35] (HELO herman.clonmel.temetra.com) (193.120.94.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jan 2014 15:39:18 +0000 Received: from vino.clonmel.temetra.com ([192.168.188.244]) by herman.clonmel.temetra.com with esmtp (Exim 4.76) (envelope-from ) id 1W8XEJ-0004m2-QX for solr-user@lucene.apache.org; Wed, 29 Jan 2014 15:39:07 +0000 Message-ID: <52E9208C.3060906@temetra.com> Date: Wed, 29 Jan 2014 15:38:52 +0000 From: Guido Medina User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Solr spatial clustering GPS Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originated: Clonmel X-Company-Address: Temetra Ltd. Hanley Controls, Gortnafleur, Clonmel X-Company-Registration-Number: 360516 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Is there a way to cluster groups of near by GPS in a Solr query(GPS inside a quadrant), we have everything in place (location_rpt with Spatial4J and JTS) and we have been using Solr spatial for a while with GPS and Polygons in the map, just wondering if there is a way to return a list of cluster of points depending on the quadrant and some sort of scale. If that is not possible, is there a way to return the geo-hashes instead of the original value, let's say, a GPS lon lat in WKT format is (1 1) and its geo-hash is AAAA, so instead of returning (1 1) I want to get its hash so that we can use a custom text algorithms to cluster. Any response/thoughts will be appreciated, Guido.