Vikas, look at DefaultSimilarity.
Otis
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/
- Original Message
From: vikas kumar vikasn...@gmail.com
To: general@lucene.apache.org
Sent: Thu, December 16, 2010 6:53:24 AM
Subject: TF IDF values for a search term
Hi All,
I am working on latest Lucene API. I want the TF IDF values for a search
term explicitly to move.
Can anybody suggest which class/method can provide me that?
I went through Similarity, Explanation and Score classes but didn’t find
found any method which can return the TF or IDF as integers.
Regards
Vikas