lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: trying to boost a phrase higher than its individual words
Date Fri, 28 Oct 2005 03:35:26 GMT

: I've constructed the following query, using boost values...
:      [+(content:"classical music"^5.0 content:classical^0.1
: content:music^0.1)]
: ...but the boost values don't seem to affect the order of the search
: results.

What you're describing should work.

What does the value of IndexSearcher.explain(q,docId).toString() look like
for the docIds of documents you expect to be early in the list compared to
the output for a docId that is early in the list?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message