On 10/25/07, Anton Valdstein <[EMAIL PROTECTED]> wrote: > thanks, that explains a lot (:, > I have another question: about how the idf is calculated: > is the document frequency the sum of all documents containing the term in > one of their fields or just in the field the query contained?
idfs are field (fieldname) specific. So it's based on the count of documents containing that word in that field. Things are done on the basis of "term" in Lucene, and a term consists of the fieldname and the word. -Yonik