You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by sunnyfr <jo...@gmail.com> on 2009/02/26 10:14:57 UTC

boost several boolean in bq

Hi

I dont get where I'm wrong.
I would like to boost some type of my books.

So If I do : &bq=status_official:0^1.5+status_creative:0^1.5
I've one result

If I do: &bq=status_official:1^1.5+status_creative:1^1.5
Nothing, I think the result should still come up even if it doesn't have
this status 

If I do : &bq=status_official:1^1  or  just &bq=status_creative:1^1.5  just
like that
I've one result which is wierd according to the previous test..??

Any idea ???? 
Thanks a lot for your help,
Sunny
-- 
View this message in context: http://www.nabble.com/boost-several-boolean-in-bq-tp22220325p22220325.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: boost several boolean in bq

Posted by sunnyfr <jo...@gmail.com>.
I've actually added (status_official:1 OR status_creative:1)^2.5




sunnyfr wrote:
> 
> Hi
> 
> I dont get where I'm wrong.
> I would like to boost some type of my books.
> 
> So If I do : &bq=status_official:0^1.5+status_creative:0^1.5
> I've one result
> 
> If I do: &bq=status_official:1^1.5+status_creative:1^1.5
> Nothing, I think the result should still come up even if it doesn't have
> this status 
> 
> If I do : &bq=status_official:1^1  or  just &bq=status_creative:1^1.5 
> just like that
> I've one result which is wierd according to the previous test..??
> 
> Any idea ???? 
> Thanks a lot for your help,
> Sunny
> 

-- 
View this message in context: http://www.nabble.com/boost-several-boolean-in-bq-tp22220325p22220469.html
Sent from the Solr - User mailing list archive at Nabble.com.