: 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
: 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
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
- 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
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
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
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
Pete,
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^100.0
Pete Smith-3 wrote:
>
> Hi Amit,
>
> Thanks agai
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
Pete,
Sorry, if wasnt clear. Here is the explanation.
Suppose you have 2 records and they have films and media as 2 columns.
Now first record has values like films="Indiana" and media="blue ray"
and 2nd record has values like films="Bond" and media="Indiana"
Values for qf parameters
media^2.0
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
Hi Pete,
bq parameter works with q,alt query parameter. If you are passing the search
criteria using q.alt query parameter then this bq parameter comes into
picture. Also, q.alt doesnt support field boosting.
If you want to boost the records with their field value then you must use q
query param
12 matches
Mail list logo