You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Daniel Cassiano <da...@gmail.com> on 2009/07/22 19:47:35 UTC
LocalSolr - order of fields on xml response
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/
Re: LocalSolr - order of fields on xml response
Posted by Daniel Cassiano <da...@gmail.com>.
Hi Ryan,
Thanks for the information.
Is this expected to be implemented?
Regards,
--
Daniel Cassiano
_____________________________
http://www.apontador.com.br/
http://www.maplink.com.br/
On Wed, Jul 22, 2009 at 10:08 PM, Ryan McKinley <ry...@gmail.com> wrote:
> 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/
>>
>
>
Re: LocalSolr - order of fields on xml response
Posted by Ryan McKinley <ry...@gmail.com>.
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/