Hi Hoss, How come if bq doesn't influence what matches -- that's q -- bq only influence the scores of existing matches if they also match the bq
when I put : as bq=(country:FR)^2 (status_official:1 status_new:1)^2.5 Ive no result if I put just bq=(country:FR)^2 Or bq=(status_official:1 status_new:1)^2.5 or even bq=(country:FR)^2 OR (status_official:1 status_new:1)^2.5 I will have one result. I don't want OR but AND, if the book as this status AND are FR then boost it more but not OR. Because the book which come up is a book which is not french but still its should come up. Thanks a lot hossman wrote: > > > : I'm not quite understanding how boost query works though. How does it > : "influence" the score exactly? Does it just simply append to the "q" > : param? From the wiki: > > Esentially yes, but documents must match the at least one clause of > the "q", matching the "bq" is optional (and when it happens, will result > in a score increase accordingly) > > : If this is how it works, it sounds like the bq will be used first > : to get a result set, then the result set will be sorted by q > : (relevance)? > > no. bq doesn't influence what matches -- that's q -- bq only influence > the scores of existing matches if they also match the bq. > > > > -Hoss > > > -- View this message in context: http://www.nabble.com/the-time-factor-tp17204792p22413452.html Sent from the Solr - User mailing list archive at Nabble.com.