lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aoi Morida <xu.xum...@gmail.com>
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 = IndexReader.open(directory);
TermFreqVector vector=indexReader.getTermFreqVector(1, "subject");

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

I cannot figure out what's wrong.

Regards,

Aoi


--
View this message in context: http://lucene.472066.n3.nabble.com/TermFreqVector-cannot-be-resolved-to-a-type-tp3983748.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message