Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 26538 invoked from network); 23 Jul 2009 01:07:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 01:07:33 -0000 Received: (qmail 52305 invoked by uid 500); 23 Jul 2009 01:08:36 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 52228 invoked by uid 500); 23 Jul 2009 01:08:36 -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 52218 invoked by uid 99); 23 Jul 2009 01:08:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 01:08:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ryantxu@gmail.com designates 209.85.216.193 as permitted sender) Received: from [209.85.216.193] (HELO mail-px0-f193.google.com) (209.85.216.193) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 01:08:26 +0000 Received: by pxi31 with SMTP id 31so316442pxi.29 for ; Wed, 22 Jul 2009 18:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=umpW4+P9a+uJ+i5MqjBGt+HlDIpYNVKiJ4Rrtt1SIRk=; b=dh1fvzRzl/32sEtbOO2/7a2dN7BDLoJoZrSd9bUsnu7X2ajJ0hIMLbRyOWsOHHaW5s wr1f2BwwQQbCYNazn11hEbYH9Z33hbYJceJsvAKj124JndcqY2KjSRy4PmNV9m/Bw3A9 rZml0imM4fG4YJfXl4TA85bysZajkJXbDDszw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=Mufqb3T6ODTuxdqdMEdWhUblPLXnSQATPGA2Dd78tleVxw8hx5r1cFyVRsaMzrfhAR gX9noT/6z+H0zoffi57Jfd+UJo3Fdjxa6vLUGe5yDk4/0VVaN70gPEDDmAmWvQisZTIt NglvHS4DSEN+eaLTaUJn4lRkBsPDLN3B49cIU= Received: by 10.114.198.9 with SMTP id v9mr1476656waf.154.1248311285860; Wed, 22 Jul 2009 18:08:05 -0700 (PDT) Received: from ?192.168.0.136? (pool-98-119-193-119.lsanca.fios.verizon.net [98.119.193.119]) by mx.google.com with ESMTPS id n30sm2188988wag.41.2009.07.22.18.08.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Jul 2009 18:08:05 -0700 (PDT) Message-Id: <3607D2F2-4074-48DF-870E-492EA83AC81C@gmail.com> From: Ryan McKinley To: solr-user@lucene.apache.org In-Reply-To: <8d85f2270907221047l4db2fb70jf7725428a226ae89@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: LocalSolr - order of fields on xml response Date: Wed, 22 Jul 2009 18:08:02 -0700 References: <8d85f2270907221047l4db2fb70jf7725428a226ae89@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org ya... 'expected', but perhaps not ideal. As is, LocalSolr munges the document on its way out the door to add the distance. When LocalSolr makes it into the source, it will likely use a method like: https://issues.apache.org/jira/browse/SOLR-705 to augment each document with the calculated distance. This will at least have consistent behavior. On Jul 22, 2009, at 10:47 AM, Daniel Cassiano wrote: > Hi folks, > > When I do some query with LocalSolr to get the geo_distance, the > order of > xml fields is different of a standard query. > It's a simple query, like this: > http://myhost.com:8088/solr/core/select?qt=geo&x=-46.000001&y=-23.000001&radius=15&sort=geo_distanceasc&q=*:* > > Is this an expected behavior of LocalSolr? > > > Thanks! > > -- > Daniel Cassiano > _____________________________ > http://www.apontador.com.br/ > http://www.maplink.com.br/