On Tue, Aug 3, 2010 at 3:16 PM, oleg.gnatovskiy <crooke...@gmail.com> wrote:
>
> Sorry guess I messed up my example query. The query should look like this:
>
> name:pizza AND id:(10 OR 20 OR 30)
>
> Thus if I do name:pizza^10 AND id:(10 OR 20 OR 30)^0 wouldn't a document
> that has all the ids (10,20, and 30) still come up higher then a document
> that has just one?

No, because the whole id:(10 OR 20 OR 30)^0 clause will contribute 0
to the final score.
Another way to get the same effect would be to pull it out as a filter:
q=name:pizza&fq=id:(10 OR 20 OR 30)

-Yonik
http://www.lucidimagination.com

Reply via email to