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 9463F7B04 for ; Mon, 1 Aug 2011 21:01:46 +0000 (UTC) Received: (qmail 69968 invoked by uid 500); 1 Aug 2011 21:01:42 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 69862 invoked by uid 500); 1 Aug 2011 21:01:41 -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 69846 invoked by uid 99); 1 Aug 2011 21:01:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 21:01:38 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raany@gmx.de designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mailout-de.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 Aug 2011 21:01:31 +0000 Received: (qmail invoked by alias); 01 Aug 2011 21:01:09 -0000 Received: from i59F70D87.versanet.de (EHLO [192.168.5.10]) [89.247.13.135] by mail.gmx.net (mp069) with SMTP; 01 Aug 2011 23:01:09 +0200 X-Authenticated: #4458727 X-Provags-ID: V01U2FsdGVkX1/1RActuMb1tDq1XChoB1/PrGvVzCinY0KkOF3NAv MSL5lXI8gyb/ij Message-ID: <4E371409.60304@gmx.de> Date: Mon, 01 Aug 2011 23:00:57 +0200 From: Ralf Musick User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Re: Spatial Search and Highlighting References: <1312213000227-3216278.post@n3.nabble.com> <6D28B454-FC57-43CA-8390-A3D40A0426D6@hoplahup.net> <1312216522518-3216414.post@n3.nabble.com> <4E36E51A.80607@ifactory.com> <4E36F8D4.2000801@jhu.edu> <4E3705DD.7080500@gmx.de> <2994563E-8372-49E6-8B76-2ED6B3048AA2@mitre.org> In-Reply-To: <2994563E-8372-49E6-8B76-2ED6B3048AA2@mitre.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Hi David, an example is: http://localhost:8983/solr/browse?indent=on&hl=on&hl.fl=name,manu&sort=score+asc&sfield=store&json.nl=map&wt=json&rows=10&start=0&q={!func}geodist%28%29&pt=45.17614%2C-93.87341&fq=%28name%20:+%28canon%29%29^8 I have to say I need the calculated distance as a return field (score) in the result list. The pseudo field solution described here http://wiki.apache.org/solr/SpatialSearch#Returning_the_distance did not word, so I created the query above. Thanks, Ralf Am 01.08.2011 22:21, schrieb Smiley, David W.: > Can you demonstrate the bug against the example data? If so, provide the URL please. > ~ David > > On Aug 1, 2011, at 4:00 PM, Ralf Musick wrote: > >> Hi, >> >> I combined a spatial distance search with a fulltext search as described >> in >> http://wiki.apache.org/solr/SpatialSearch#geodist_-_The_distance_function . >> I'm using solr 3.3 and that works fine. >> BUT, I want to use highlighting of fulltext query words but that does >> not work. >> >> Before solr 3.3, I used solr 1.4 with Spatial Search plugin from Jteam >> and that works fine also with highlighting. >> >> After refactoring because of API change I miss the highlighting feature. >> >> Is that a known issue? Or what is my mistake/ I have to do? >> >> Example Query: >> INFO: [organisations] webapp=/solr path=/select >> params={hl.fragsize=250&sort=score+asc&sfield=store_lat_lon&json.nl=map&hl.fl=name,category_name&wt=json&hl=on&rows=10&fl=id,name,street,city,score,lat,lng&start=0&q={!func}geodist()&pt=52.5600917,13.4222482&fq=((country_name:+(automatisierung))^8+OR+(category_name:+(automatisierung))^10+OR+(sub_category_name:+(automatisierung))^10} >> hits=37 status=0 QTime=7 >> >> >> Thanks is Advance, >> Ralf >