Re: Questions about boosting

2013-01-18 Thread Shawn Heisey
On 1/18/2013 8:52 AM, Walter Underwood wrote: On Jan 17, 2013, at 10:53 PM, Shawn Heisey wrote: On 1/17/2013 11:41 PM, Walter Underwood wrote: As I understand it, the bq parameter is a full Lucene query, but only used for ranking, not for selection. This is the complement of fq. You can use

Re: Questions about boosting

2013-01-18 Thread Walter Underwood
On Jan 17, 2013, at 10:53 PM, Shawn Heisey wrote: > On 1/17/2013 11:41 PM, Walter Underwood wrote: >> As I understand it, the bq parameter is a full Lucene query, but only used >> for ranking, not for selection. This is the complement of fq. >> >> You can use weighting: provider:fred^8 >> >>

Re: Questions about boosting

2013-01-18 Thread Shawn Heisey
On 1/18/2013 12:32 AM, Mikhail Khludnev wrote: Colleagues, fwiw bq is a DisMax parser feature. Shawn, to approach the boosting syntax with the standard parser you need something like q=foo:bar ip:sc^1000. Specifying ^1000 in bq makes no sense ever. If you show query params and debugQuery output,

Re: Questions about boosting

2013-01-17 Thread Mikhail Khludnev
Colleagues, fwiw bq is a DisMax parser feature. Shawn, to approach the boosting syntax with the standard parser you need something like q=foo:bar ip:sc^1000. Specifying ^1000 in bq makes no sense ever. If you show query params and debugQuery output, it would much easier for us to help you. PS omitt

Re: Questions about boosting

2013-01-17 Thread Shawn Heisey
On 1/17/2013 11:41 PM, Walter Underwood wrote: As I understand it, the bq parameter is a full Lucene query, but only used for ranking, not for selection. This is the complement of fq. You can use weighting: provider:fred^8 I tried bq=ip:sc^1000 and it doesn't seem to be making any difference

Re: Questions about boosting

2013-01-17 Thread Shawn Heisey
On 1/17/2013 11:41 PM, Walter Underwood wrote: As I understand it, the bq parameter is a full Lucene query, but only used for ranking, not for selection. This is the complement of fq. You can use weighting: provider:fred^8 This will be affected by idf, so providers with fewer matches will hav

Re: Questions about boosting

2013-01-17 Thread Walter Underwood
with a boost function. >>> >>> -- Jack Krupansky >>> >>> -Original Message- From: Shawn Heisey >>> Sent: Thursday, January 17, 2013 4:11 PM >>> To: solr-user@lucene.apache.org >>> Subject: Questions about boosting >>> >

Re: Questions about boosting

2013-01-17 Thread Shawn Heisey
nal Message- From: Shawn Heisey Sent: Thursday, January 17, 2013 4:11 PM To: solr-user@lucene.apache.org Subject: Questions about boosting I've been trying to figure this out on my own, but I've come up empty so far. I need to boost documents from a certain provider. The idea

Re: Questions about boosting

2013-01-17 Thread Walter Underwood
; Maybe an ExternalFileField where every document could have a dynamic boost > value that you add with a boost function. > > -- Jack Krupansky > > -Original Message- From: Shawn Heisey > Sent: Thursday, January 17, 2013 4:11 PM > To: solr-user@lucene.apache.org > Sub

Re: Questions about boosting

2013-01-17 Thread Jack Krupansky
Krupansky -Original Message- From: Shawn Heisey Sent: Thursday, January 17, 2013 4:11 PM To: solr-user@lucene.apache.org Subject: Questions about boosting I've been trying to figure this out on my own, but I've come up empty so far. I need to boost documents from a certain provider.

Questions about boosting

2013-01-17 Thread Shawn Heisey
I've been trying to figure this out on my own, but I've come up empty so far. I need to boost documents from a certain provider. The idea is that if any documents in a result match a separate query (like provider:bigbucks), I need to multiply the score by X. It's important that the result se