lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Philip <davidphilipshe...@gmail.com>
Subject debugQuery, explain tag - What does the fieldWeight value refer to?,
Date Wed, 27 Feb 2013 05:15:14 GMT
Hi,

 In the explain tag  (debugQuery=true)
what does the *fieldWeight* value refer to?,



In the below case,
*1.0469098* is the product of tf, idf and fieldNorm,  for both the records.
But field weight is different. I would like to know what is the field
weight and how search results are ordered based on that, is it such that,
higher the field weight, score is also high?


 1.0469098 =,
*(MATCH) fieldWeight(title:updated in 7), *
product of: 1.0 = tf(termFreq(title:updated)=1), 2.7917595 = idf(docFreq=2,
maxDocs=18), 0.375 = fieldNorm(field=title, doc=7)

 1.0469098 =,
*(MATCH) fieldWeight(title:updated in 9), *
product of: 1.0 = tf(termFreq(title:updated)=1), 2.7917595 = idf(docFreq=2,
maxDocs=18), 0.375 = fieldNorm(field=title, doc=7)

Thanks -David P

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message