Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C9FA7716 for ; Tue, 13 Dec 2011 16:34:05 +0000 (UTC) Received: (qmail 10918 invoked by uid 500); 13 Dec 2011 16:34:03 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 10853 invoked by uid 500); 13 Dec 2011 16:34:03 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 10822 invoked by uid 99); 13 Dec 2011 16:34:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 16:34:02 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 16:33:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E0DEB110483 for ; Tue, 13 Dec 2011 16:33:30 +0000 (UTC) Date: Tue, 13 Dec 2011 16:33:30 +0000 (UTC) From: "Grant Ingersoll (Reopened) (JIRA)" To: dev@lucene.apache.org Message-ID: <31803454.6192.1323794010922.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (SOLR-2154) Spatial support for MultiValued fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll reopened SOLR-2154: ----------------------------------- I'd say this is not specifically a duplicate of the geo-hash. > Spatial support for MultiValued fields > -------------------------------------- > > Key: SOLR-2154 > URL: https://issues.apache.org/jira/browse/SOLR-2154 > Project: Solr > Issue Type: New Feature > Components: Build > Affects Versions: 4.0 > Reporter: Bill Bell > Fix For: 4.0 > > > Is this an issue - it appears to work ? > This appears to work on LatLon Spatial fields. It appears to find the right lat long... Is this supposed to work? > I read that this does not work on solr.PointType, but it appears to work on LatLonType. > > > Trying a few queries and I can get either of the 2 points. > {code} > http://localhost:8983/solr/core2/select?fl=*,score&qf=namesearch&pf=namesearch&start=0&rows=10&q=bill&qt=standard&pt=41.9244,-87.6473&d=10.9344&fq={!sfilt%20fl=store_lat_lon}&sort=hsin(6371,true,store_lat_lon,vector(41.9244,-87.6473))+asc,+score+desc&debugQuery=on > 1 result. > http://10.0.1.37:8983/solr/core2/select?fl=*,score&qf=namesearch&pf=namesearch&start=0&rows=10&q=bill&qt=standard&pt=47.7651,-122.362&d=10.9344&fq={!sfilt%20fl=store_lat_lon}&sort=hsin(6371,true,store_lat_lon,vector(47.7651,-122.362))+asc,+score+desc&debugQuery=on > 2 results. > {code} > {code} > schema.xml: > > > > sample.xml to import: > > > 2300 North Childrens Plaza > 1 > 41.9244,-87.6473 > 47.7651,-122.362 > 60614 > > > 357 North West Richmond Beach Road > 2 > 48.7651,-122.362 > 98177 > > > 7555 North Overfield Road > 3 > 32.948,-111.653 > 85294 > > > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org