Re: DisMaxRequestHandler bf configuration

2010-01-08 Thread Erik Hatcher
On Jan 7, 2010, at 10:18 PM, Andy wrote: Oh I see. Is "popularityboost" the name of the parameter? {!boost b=$popularityboost v=$qq} log(popularity) popularityboost is entirely arbitrary here. Use whatever name you like, it's a simple substitution in the q p

Re: DisMaxRequestHandler bf configuration

2010-01-07 Thread Andy
Oh I see. Is "popularityboost" the name of the parameter?              {!boost b=$popularityboost v=$qq}    log(popularity)         --- On Thu, 1/7/10, Erik Hatcher wrote: From: Erik Hatcher Subject: Re: DisMaxRequestHandler bf configuration To: solr-user@lucene.apach

Re: DisMaxRequestHandler bf configuration

2010-01-07 Thread Erik Hatcher
On Jan 7, 2010, at 9:51 PM, Andy wrote: Thanks. Can I use the standard request handler for this purpose? So something like: Yes, but... {!boost b=$popularityboost v= $qq}&popularityboost=log(popularity) Or do I still need the dismax handler? popularityboost needs to

Re: DisMaxRequestHandler bf configuration

2010-01-07 Thread Andy
: Re: DisMaxRequestHandler bf configuration To: solr-user@lucene.apache.org Date: Thursday, January 7, 2010, 4:56 AM it wouldn't be q.alt though, just q, in the config file. q.alt is typically *:*, it's the fall back query when no q is provided. though, in thinking about it, q.alt would work

Re: DisMaxRequestHandler bf configuration

2010-01-07 Thread Erik Hatcher
onik Seeley Subject: Re: DisMaxRequestHandler bf configuration To: solr-user@lucene.apache.org Date: Wednesday, January 6, 2010, 8:42 PM On Wed, Jan 6, 2010 at 8:24 PM, Andy wrote: I meant can I do it with dismax without modifying every single query? I'm accessing Solr through haystack and a

Re: DisMaxRequestHandler bf configuration

2010-01-06 Thread Andy
10, Yonik Seeley wrote: From: Yonik Seeley Subject: Re: DisMaxRequestHandler bf configuration To: solr-user@lucene.apache.org Date: Wednesday, January 6, 2010, 8:42 PM On Wed, Jan 6, 2010 at 8:24 PM, Andy wrote: > I meant can I do it with dismax without modifying every single query? I'm

Re: DisMaxRequestHandler bf configuration

2010-01-06 Thread Yonik Seeley
uments and set defaults for everything except qq. -Yonik http://www.lucidimagination.com > --- On Wed, 1/6/10, Yonik Seeley wrote: > > From: Yonik Seeley > Subject: Re: DisMaxRequestHandler bf configuration > To: solr-user@lucene.apache.org > Date: Wednesday, January 6, 201

Re: DisMaxRequestHandler bf configuration

2010-01-06 Thread Andy
uery by default. --- On Wed, 1/6/10, Yonik Seeley wrote: From: Yonik Seeley Subject: Re: DisMaxRequestHandler bf configuration To: solr-user@lucene.apache.org Date: Wednesday, January 6, 2010, 7:48 PM On Wed, Jan 6, 2010 at 7:43 PM, Andy wrote: > So if I want to configure Solr to turn every

Re: DisMaxRequestHandler bf configuration

2010-01-06 Thread Yonik Seeley
On Wed, Jan 6, 2010 at 7:43 PM, Andy wrote: > So if I want to configure Solr to turn every query q=foo into q={!boost > b=log(popularity)}foo, dismax wouldn't work but edismax would? You can do it with dismax it's just that the syntax is slightly more convoluted. Check out the section on boo

Re: DisMaxRequestHandler bf configuration

2010-01-06 Thread Andy
On Wed, 1/6/10, Yonik Seeley wrote: From: Yonik Seeley Subject: Re: DisMaxRequestHandler bf configuration To: solr-user@lucene.apache.org Date: Wednesday, January 6, 2010, 7:09 PM On Wed, Jan 6, 2010 at 2:43 AM, Andy wrote: > I'd like to boost every query using {!boost b=log(populari

Re: DisMaxRequestHandler bf configuration

2010-01-06 Thread Yonik Seeley
On Wed, Jan 6, 2010 at 2:43 AM, Andy wrote: > I'd like to boost every query using {!boost b=log(popularity)}. But I'd > rather not have to prepend that to every query. It'd be much cleaner for me > to configure Solr to use that as default. > > My plan is to make DisMaxRequestHandler the default

DisMaxRequestHandler bf configuration

2010-01-05 Thread Andy
I'd like to boost every query using {!boost b=log(popularity)}. But I'd rather not have to prepend that to every query. It'd be much cleaner for me to configure Solr to use that as default. My plan is to make DisMaxRequestHandler the default handler and add the following to solrconfig.xml: