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 varun srivastava <va...@gmail.com> on 2013/03/10 01:03:21 UTC

Re: SolrCloud - Sorting Problem

Hi Deniz,
 Your mail about distributed query is really helpful. Can you or someone
else improve the following wiki. RIght now we dont have any document
explaining distributed search in solr, which is now backbone of solr cloud.

http://wiki.apache.org/solr/WritingDistributedSearchComponents

Thanks
Varun

On Sun, Dec 2, 2012 at 10:49 PM, deniz <de...@gmail.com> wrote:

> I think I have figured out this... at least some kinda..
>
> After putting logs here there in the code, especially in SolrCore,
> HttpShardHandler, SearchHandler classes, it seems like sorting is done
> after
> all of the shards finish "responding" and then before we see the results
> the
> result set is sorted... I am not sure if this is correct or not totally, it
> is what i see from the logs, in the request headers..
>
> so for a shard or distributed search the header looks like this:
>
> status=0,QTime=4,params={df=text,fl=*,position,shard.url=blablabla
>
> and just before i see the results on my browser the header becomes this:
>
> status=0,QTime=178,params={fl=*,position,sort=myfield desc
>
> and basically, because the position field was filled before actual sorting
> on the page, the positions are incorrect...
>
> is this right? i mean sorting is really done after everything finishes and
> we are about to get results?
>
>
>
> -----
> Zeki ama calismiyor... Calissa yapar...
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/SolrCloud-Sorting-Problem-tp4023382p4023889.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Re: SolrCloud - Sorting Problem

Posted by varun srivastava <va...@gmail.com>.
Also if anyone who understand DistributedSearch can update following wiki
it will be really helpful for all of us.

http://wiki.apache.org/solr/DistributedSearchDesign

Thanks
Varun

On Sat, Mar 9, 2013 at 4:03 PM, varun srivastava <va...@gmail.com>wrote:

> Hi Deniz,
>  Your mail about distributed query is really helpful. Can you or someone
> else improve the following wiki. RIght now we dont have any document
> explaining distributed search in solr, which is now backbone of solr cloud.
>
> http://wiki.apache.org/solr/WritingDistributedSearchComponents
>
> Thanks
> Varun
>
> On Sun, Dec 2, 2012 at 10:49 PM, deniz <de...@gmail.com> wrote:
>
>> I think I have figured out this... at least some kinda..
>>
>> After putting logs here there in the code, especially in SolrCore,
>> HttpShardHandler, SearchHandler classes, it seems like sorting is done
>> after
>> all of the shards finish "responding" and then before we see the results
>> the
>> result set is sorted... I am not sure if this is correct or not totally,
>> it
>> is what i see from the logs, in the request headers..
>>
>> so for a shard or distributed search the header looks like this:
>>
>> status=0,QTime=4,params={df=text,fl=*,position,shard.url=blablabla
>>
>> and just before i see the results on my browser the header becomes this:
>>
>> status=0,QTime=178,params={fl=*,position,sort=myfield desc
>>
>> and basically, because the position field was filled before actual sorting
>> on the page, the positions are incorrect...
>>
>> is this right? i mean sorting is really done after everything finishes and
>> we are about to get results?
>>
>>
>>
>> -----
>> Zeki ama calismiyor... Calissa yapar...
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/SolrCloud-Sorting-Problem-tp4023382p4023889.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>