On May 10, 2009, at 5:59 AM, liat oren wrote:

The output is the following:
*finlin, score: 19.366615*
19.366615 = (MATCH) fieldWeight(worlds:6621468^3.0 in 35433), product of:
 4.2426405 = (MATCH) btq, product of:
   0.70710677 = tf(phraseFreq=0.5)
   6.0 = scorePayload(...)
 7.3036084 = idf(worlds: 6621468=110)
 0.625 = fieldNorm(field=worlds, doc=35433)

*TTD, score: 15.493294*
15.493293 = (MATCH) fieldWeight(worlds:6621468^3.0 in 20), product of:
 2.1213202 = (MATCH) btq, product of:
   0.70710677 = tf(phraseFreq=0.5)
   3.0 = scorePayload(...)
 7.3036084 = idf(worlds: 6621468=110)
 1.0 = fieldNorm(field=worlds, doc=20)

Can anyone explain me the highlighted parts of the score?
I read all the explanations in the api and read a lot of threads about the
scoring, but didn't really understand these factors.
Why in finlin, we have the doc 35433 and in TTD, its 20?


http://lucene.apache.org/java/2_4_1/api/org/apache/lucene/search/Similarity.html

fieldNorm = norm (not sure why the docs aren't consistent) The norm takes into account document length and boosts (http://lucene.apache.org/java/2_4_1/api/org/apache/lucene/search/Similarity.html#formula_norm )

The gist of what you are seeing , I believe, is that finlin is a lot longer than TTD. Is that the case?

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene:
http://www.lucidimagination.com/search


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

Reply via email to