On Feb 20, 2006, at 12:22 PM, Mufaddal Khumri wrote:
Hi,
I do this:
SpanFirstQuery fullPhraseInCategoryNamesQuery = new SpanFirstQuery
(new SpanTermQuery(new Term("categoryNames", "digital cameras")), 2);
fullPhraseInCategoryNamesQuery.setBoost(8);
In my log output i get this:
spanFirst(categoryNames:digit camera, 2))
Why cant I boost a span query? What am i doing wrong?
You can boost any Query. However, the .toString is not showing the
boost. Look at IndexSearcher.explain() results to see the effect of
your boosts in action.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]