lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <mkhu...@allegromedical.com>
Subject span first query and boosting ..
Date Mon, 20 Feb 2006 17:22:48 GMT
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?

-Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message