: ok. Shouldn't pf be applied on top of bq=? that way among the object_types
: boosted, if one has "Manufacturing" then it should be listed first?

No.

bq is an *additive* boost ... documents must match your "main query" to be 
included, but if document X scores very high against the bq query, and 
very low against hte main query, the cumulative score can still be higher 
then a docuemnt Y which scores mid-range against both.

you can think of it under the covers esentially just taking your "q" (with 
qf and ph fields) and your "bq" and building a query that looks like...

        (+q bq)

...which is why what people should use 99% of the time is "boost" instead 
of bq ... that creates a *multiplicitive* boost factor based on the 
function specified (which can use the "query()" function to wrap an 
arbitrary query) instead.


-Hoss
http://www.lucidworks.com/

Reply via email to