Hi, I want to get the freq of a term in a Doc.
public int termFreq( int docID, String termName ) {
IndexReader reader = IndexReader.open(directory);
Document doc = reader.document(docID);
int FreqForTerm = doc.... ???
return FreqForTerm;
}
I didn't find what I want in the archives.
Can someone please assist?
Mary
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
