lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Diviacco <patrick.divia...@gmail.com>
Subject termFreqVector is always null ?
Date Thu, 21 Apr 2011 08:57:09 GMT
Hi,

for any document, the termFreqVector is always null.
I'm sure the documents are in the collection and the field exist. So where
is the problem ?

for (int i = 0; i < reader.numDocs(); i++){
    TermFreqVector tfv = reader.getTermFreqVector(i, "tags");

thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message