Re: Questions on RandomSortField

2009-09-29 Thread Avlesh Singh
Thanks Hoss! The approach that I explained in my subsequent email works like a charm. Cheers Avlesh On Wed, Sep 30, 2009 at 3:45 AM, Chris Hostetter wrote: > > : The question was either non-trivial or heavily uninteresting! No replies > yet > > it's pretty non-trivial, and pretty interesting, bu

Re: Questions on RandomSortField

2009-09-29 Thread Chris Hostetter
: The question was either non-trivial or heavily uninteresting! No replies yet it's pretty non-trivial, and pretty interesting, but i'm also pretty behind on my solr-user email. I don't think there's anyway to do what you wanted without a custom plugin, so your efforts weren't in vain ... if w

Re: Questions on RandomSortField

2009-09-21 Thread Avlesh Singh
The question was either non-trivial or heavily uninteresting! No replies yet :) Thankfully, I figured out a solution for the problem at hand. For people who might be looking for a solution, here it goes - 1. Extended the RandomSortField to create your own YourCustomRandomField. 2. Override

Questions on RandomSortField

2009-09-20 Thread Avlesh Singh
I am using Solr 1.3 I have a "solr.RandomSortField" type dynamic field which I use to randomize my results. I am in a tricky situation. I need to randomize only "certain results" in my Hits. To elaborate, I have a integer field called "category_id". When performing a query, I need to get results f