Boosts on query clauses are relative to other clauses. To see boosting really work try looking at foo bar vs foo bar^10
-Yonik On Jan 20, 2008 8:13 PM, <[EMAIL PROTECTED]> wrote: > I am trying to submit a query to Lucene with just one term trying to > understand how the boost of a term influences the final document score: for > example "computer" and "computer^5" (using query.setBoost()). Lucene > returns the same documents with the same document score values for both > queries. When I look at searcher.explain() the explanation is the same for > both queries for each document. > > In Similarity class I saw that the score function score(q,d) has a > multiplying factor t.getBoost() and then I thought that boosting a query > term would modify the final document score for the query. But it does not. > If the boost does not change the final document score what is it utility? I > think I am missing something. > > Thanks, Angelica. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]