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
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 have higher weight than those with more matches. Th

Re: Questions about boosting

2013-01-17 Thread Shawn Heisey
I did try the bq parameter. Either I'm not using it correctly, or it's not making a noticeable difference. I was not able to find any good docs, either. Can you give me complete instructions in its use? Can I control the boost factor? Is the boost additive or multiplicative? For query ele

Re: Questions about boosting

2013-01-17 Thread Walter Underwood
Have you tried boost query? bq=provider:fred wunder On Jan 17, 2013, at 9:08 PM, Jack Krupansky wrote: > Start with "Query Elevation" and see if that helps: > http://wiki.apache.org/solr/QueryElevationComponent > > Index-time document boost is a possibility. > > Maybe an ExternalFileField whe

Re: Questions about boosting

2013-01-17 Thread Jack Krupansky
Start with "Query Elevation" and see if that helps: http://wiki.apache.org/solr/QueryElevationComponent Index-time document boost is a possibility. Maybe an ExternalFileField where every document could have a dynamic boost value that you add with a boost function. -- Jack Krupansky -Orig