Re: Using Customized sorting in Solr

2012-04-30 Thread Erick Erickson
Consider writing a custom sort method or a custom function that you use for sorting. Be _very_ careful that anything you do here is very efficient, it'll be called a _lot_. Best Erick On Mon, Apr 30, 2012 at 2:10 AM, solr user wrote: > Hi, > > Any suggestions, > > Am I trying to do too much with

Re: Using Customized sorting in Solr

2012-04-29 Thread solr user
Hi, Any suggestions, Am I trying to do too much with solr? Is there any other search engine, which should be used here? I am looking into solr codebase and planning to modify QueryComponent. Will this be the right approach? Regards, Shivam On Fri, Apr 27, 2012 at 10:48 AM, solr user wrote:

Re: Using Customized sorting in Solr

2012-04-26 Thread solr user
Jan, Thanks for the response, I though of using it, but it will be suboptimal to do this in the scenario I have. I guess I have to explain the scenario better, let me try it again:- 1. I have importance based buckets in the system, this is implemented using a variable named bucket_count having i

Re: Using Customized sorting in Solr

2012-04-26 Thread Jan Høydahl
Hi, How about trying grouping with paging? First you do group=true&group.field=advertiserId&group.limit=1&group.offset=0&group.main=true&sort=something&group.sort=how-much-paid desc That gives you one listing per advertiser, sorted the way you like. Then to grab the next batch of ads, you go gr