t is its default behavior?
>
> Regards
> Harshvardhan Ojha
>
> -Original Message-
> From: Rafał Kuć [mailto:r....@solr.pl]
> Sent: Tuesday, July 03, 2012 5:35 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Problem with sorting solr docs
>
> Hello!
>
> B
2 5:58 PM
To: solr-user@lucene.apache.org
Subject: RE: Problem with sorting solr docs
Hi,
I have added to my schema.xml, although I
am searching on name field.
It seems to be working fine. What is its default behavior?
Regards
Harshvardhan Ojha
-Original Message-
From: Rafał Kuć [mailto:r@solr.pl]
@lucene.apache.org
Subject: Re: Problem with sorting solr docs
Hello!
But the latlng field is not taken into account when sorting with sort defined
such as in your query. You only sort on the name field and only that field. You
can also define Solr behavior when there is no value in the field, but adding
d well.
> But my latlng field is optional, every doc will not have this
> value. So those docs are not getting sorted.
> Regards
> Harshvardhan Ojha
> -Original Message-
> From: Rafał Kuć [mailto:r@solr.pl]
> Sent: Tuesday, July 03, 2012 5:24 PM
> To: solr-us
Kuć [mailto:r@solr.pl]
Sent: Tuesday, July 03, 2012 5:24 PM
To: solr-user@lucene.apache.org
Subject: Re: Problem with sorting solr docs
Hello!
Your query suggests that you are sorting on the 'name' field instead of the
latlng field (sort=name +asc).
The question is what you are
Hello!
Your query suggests that you are sorting on the 'name' field instead
of the latlng field (sort=name +asc).
The question is what you are trying to achieve ? Do you want to sort
your documents from a given geographical point ? If that's the case
you may want to look here: http://wiki.apache.