Re: SolrCloud - Sorting Problem

2013-03-09 Thread varun srivastava
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 wrote: > Hi Deniz, > Your mail about distributed query is really

Re: SolrCloud - Sorting Problem

2013-03-09 Thread varun srivastava
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

Re: SolrCloud - Sorting Problem

2012-12-02 Thread deniz
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 sorte

Re: SolrCloud - Sorting Problem

2012-12-02 Thread deniz
deniz wrote > after these, I guess i need to check how the request is distributed on > cloud... any ideas where I should start checking? as for replying my own question (hopefully correct) I have started digging org.apache.solr.handler.component.SearchHandler.handleRequestBody which loops (i could

Re: SolrCloud - Sorting Problem

2012-12-02 Thread deniz
Chris Hostetter-3 wrote > w/o more information about how/where you add this information, it's going > to be really hard to give you suggestions on how to fix your problem. The modifications I made is nearly the same with score field. Basically I have added a PositionAugmenter class, modified Retu

Re: SolrCloud - Sorting Problem

2012-11-30 Thread Chris Hostetter
: Background: Basically, I have added a new feature to Solr after I got the : source code. Similar to the we get "score" in the resultset, I am now able : to get position (or ranking) information of each document in the list. i.e : if there are 5 documents in the result set, each of them has its p

Re: SolrCloud - Sorting Problem

2012-11-29 Thread deniz
After playing with this more, i think I have some clue... on the standalone solr, when i give start 11 and rows 20, i can see documents with positions ranging from 12 to 31, which is correct... on the cloud, when i give the same parameters, again i get the same documents, but this time position ra