lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Maisonneuve <n.maisonne...@gmail.com>
Subject problem for the adataption of a xml ranking model
Date Thu, 10 Mar 2005 14:25:22 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message