lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aoi Morida <>
Subject TermFreqVector cannot be resolved to a type
Date Mon, 14 May 2012 20:18:31 GMT
Hi all,

I am using lucene to do index and I want to get the term frequency vector.

I use this code:
Directory directory = FSDirectory.getDirectory(INDEX_DIRECTORY);
IndexReader indexReader =;
TermFreqVector vector=indexReader.getTermFreqVector(1, "subject");

But eclipse always tells me that TermFreqVector cannot be resolved to a

I cannot figure out what's wrong.



View this message in context:
Sent from the Lucene - General mailing list archive at

View raw message