Hy, I'm trying to adapte a xml ranking model for lucene.
For the moment i'm just playing with the leaf node i.e. a node containing data. For lucene, this node is a a search field and the idf is replaced by ief (inversed element frequency) ief= log (NumDoc_e)/(NumDoc_e_t+1) +1 NumDoc_e_t = number of doc with element e containing the term t. NumDoc_e_t=docFreq(new Term(e, t)) NumDoc_e = number of documents with the element el ( = number of documents with some values in the search field el ) How do you compute the numDoc_e with the lucene API ?. thanks, nicolas maisonneuve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]