lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deniz <denizdurmu...@gmail.com>
Subject Re: SolrCloud - Sorting Problem
Date Mon, 03 Dec 2012 06:49:55 GMT
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.

Mime
View raw message