lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liu_An...@emc.com
Subject RE: TermVector
Date Mon, 25 Jun 2007 01:24:29 GMT
Suggest you use lucene 2.1 or above

Andy

-----Original Message-----
From: Lee Li Bin [mailto:leelb@xedge.com.sg] 
Sent: Monday, June 25, 2007 5:14 AM
To: java-user@lucene.apache.org
Subject: TermVector

Hi,

 

May I know how do I store TermVector?

 

When I set the last parameter to true, isn't it setting storeTermVector
to
true?

But I get null value in TermFreqVector.

 

BTW, I'm using lucene 1.4.3

Not intended to upgrade to 2.0

 

docAll.add(Field.Text("contentText", new
StringReader(allContent),true));

 

 

thnaks

 

 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message