Re: How to correctly boost results in Solr Dismax query

2009-03-17 Thread Chris Hostetter
: Is not particularly helpful. I tried adding adding a bq argument to my : search: : : &bq=media:DVD^2 : : (yes, this is an index of films!) but I find when I start adding more : and more: : : &bq=media:DVD^2&bq=media:BLU-RAY^1.5 : : I find the negative results - e.g. films that are DVD but a

Re: How to correctly boost results in Solr Dismax query

2009-03-17 Thread Chris Hostetter
: bq works only with q.alt query and not with q queries. So, in your case you : would be using qf parameter for field boosting, you will have to give both : the fields in qf parameter i.e. both title and media. FWIW: that statement is false. the "boost query" (bq) is added to the query regardle

RE: How to correctly boost results in Solr Dismax query

2009-03-16 Thread Pete Smith
tting these requires > you to reindex). I think this should have the effect of making BQ boosts > like &bq=media:DVD^2&bq=media:BLU-RAY^1.5 more effective. > > -- Dean > > -Original Message- > From: Pete Smith [mailto:pete.sm...@lovefilm.com] > Sent: 13/03/200

Re: How to correctly boost results in Solr Dismax query

2009-03-16 Thread Otis Gospodnetic
- Original Message > From: "Dean Missikowski (Consultant), CLSA" > To: solr-user@lucene.apache.org > Sent: Monday, March 16, 2009 4:46:32 AM > Subject: RE: How to correctly boost results in Solr Dismax query > > If you just discovered the omitTf parameter because of

RE: How to correctly boost results in Solr Dismax query

2009-03-16 Thread Dean Missikowski (Consultant), CLSA
he.org/mod_mbox/lucene-java-user/200903.mbox/%3 c897559.95769...@web50301.mail.re2.yahoo.com%3e -- Dean -Original Message- From: Dean Missikowski (Consultant), CLSA Sent: 16/03/2009 10:30 AM To: solr-user@lucene.apache.org Subject: RE: How to correctly boost results in Solr Dismax query Hi, M

RE: How to correctly boost results in Solr Dismax query

2009-03-15 Thread Dean Missikowski (Consultant), CLSA
to reindex). I think this should have the effect of making BQ boosts like &bq=media:DVD^2&bq=media:BLU-RAY^1.5 more effective. -- Dean -Original Message- From: Pete Smith [mailto:pete.sm...@lovefilm.com] Sent: 13/03/2009 7:11 PM To: solr-user@lucene.apache.org Subject: Re: How t

Re: How to correctly boost results in Solr Dismax query

2009-03-13 Thread Pete Smith
Hi, On Fri, 2009-03-13 at 03:57 -0700, dabboo wrote: > bq works only with q.alt query and not with q queries. So, in your case you > would be using qf parameter for field boosting, you will have to give both > the fields in qf parameter i.e. both title and media. > > try this > > media^1.0 title

Re: How to correctly boost results in Solr Dismax query

2009-03-13 Thread dabboo
ing adding a bq argument to >> my >> >> > search: >> >> > >> >> > &bq=media:DVD^2 >> >> > >> >> > (yes, this is an index of films!) but I find when I start adding >> more >> >> > and more: >> >> > >> >> > &bq=media:DVD^2&bq=media:BLU-RAY^1.5 >> >> > >> >> > I find the negative results - e.g. films that are DVD but are not >> >> > BLU-RAY get negatively affected in their score. In the end it all >> seems >> >> > to even out and my score is as it was before i started boosting. >> >> > >> >> > I must be doing this wrong and I wonder whether "boost function" >> comes >> >> > in somewhere. Any ideas on how to correctly use boost? >> >> > >> >> > Cheers, >> >> > Pete >> >> > >> >> > -- >> >> > Pete Smith >> >> > Developer >> >> > >> >> > No.9 | 6 Portal Way | London | W3 6RU | >> >> > T: +44 (0)20 8896 8070 | F: +44 (0)20 8896 8111 >> >> > >> >> > LOVEFiLM.com >> >> > >> >> > >> >> >> > -- >> > Pete Smith >> > Developer >> > >> > No.9 | 6 Portal Way | London | W3 6RU | >> > T: +44 (0)20 8896 8070 | F: +44 (0)20 8896 8111 >> > >> > LOVEFiLM.com >> > >> > >> > -- > Pete Smith > Developer > > No.9 | 6 Portal Way | London | W3 6RU | > T: +44 (0)20 8896 8070 | F: +44 (0)20 8896 8111 > > LOVEFiLM.com > > -- View this message in context: http://www.nabble.com/How-to-correctly-boost-results-in-Solr-Dismax-query-tp22476204p22494196.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to correctly boost results in Solr Dismax query

2009-03-13 Thread Pete Smith
Hi Amit, Thanks again for your reply. I am understanding it a bit better but I think it would help if I posted an example. Say I have three records: 1 BLU-RAY Indiana Jones and the Kingdom of the Crystal Skull 2 DVD Indiana Jones and the Kingdom of the Crystal Skull 3 DVD Casino Royale Now

Re: How to correctly boost results in Solr Dismax query

2009-03-13 Thread dabboo
but are not >> > BLU-RAY get negatively affected in their score. In the end it all seems >> > to even out and my score is as it was before i started boosting. >> > >> > I must be doing this wrong and I wonder whether "boost function" comes >> > in somewhere. Any ideas on how to correctly use boost? >> > >> > Cheers, >> > Pete >> > >> > -- >> > Pete Smith >> > Developer >> > >> > No.9 | 6 Portal Way | London | W3 6RU | >> > T: +44 (0)20 8896 8070 | F: +44 (0)20 8896 8111 >> > >> > LOVEFiLM.com >> > >> > >> > -- > Pete Smith > Developer > > No.9 | 6 Portal Way | London | W3 6RU | > T: +44 (0)20 8896 8070 | F: +44 (0)20 8896 8111 > > LOVEFiLM.com > > -- View this message in context: http://www.nabble.com/How-to-correctly-boost-results-in-Solr-Dismax-query-tp22476204p22493646.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to correctly boost results in Solr Dismax query

2009-03-13 Thread Pete Smith
Hi Amit, Thanks very much for your reply. What you said makes things a bit clearer but I am still a bit confused. On Thu, 2009-03-12 at 23:14 -0700, dabboo wrote: > If you want to boost the records with their field value then you must use q > query parameter instead of q.alt. 'q' parameter actual

Re: How to correctly boost results in Solr Dismax query

2009-03-12 Thread dabboo
tly use boost? > > Cheers, > Pete > > -- > Pete Smith > Developer > > No.9 | 6 Portal Way | London | W3 6RU | > T: +44 (0)20 8896 8070 | F: +44 (0)20 8896 8111 > > LOVEFiLM.com > > -- View this message in context: http://www.nabble.com/How-to-correctly-boost-results-in-Solr-Dismax-query-tp22476204p22490850.html Sent from the Solr - User mailing list archive at Nabble.com.

How to correctly boost results in Solr Dismax query

2009-03-12 Thread Pete Smith
Hi, I have managed to build an index in Solr which I can search on keyword, produce facets, query facets etc. This is all working great. I have implemented my search using a dismax query so it searches predetermined fields. However, my results are coming back sorted by score which appears to be c