Re: TermFreqVector

2005-11-18 Thread Anna Buczak
depending on your code base, change the code in the > demo to add in the new flag (for 1.4.3) or TermVector.YES (for 1.9). You > will have to reindex upon making this change. > > Anna Buczak wrote: > > >>You have to tell lucene to store term freq > >>vectors (it isn&

TermFreqVector

2005-11-18 Thread Anna Buczak
> it to the IndexWriter? You have to tell lucene to store term freq > vectors (it isn't done by default). Also I'm not sure what you mean > when you say your documents do not have fields. Do you have at least > one field? > > -chris > > On 11/17/05, Anna Buczak

TermFreqVector

2005-11-17 Thread Anna Buczak
I have indexed a set of documents that do not have fields. I want to use the getTermFreqVector method from IndexReader to get the frequencies. However when I do that as: TermFreqVector[] z = ir.getTermFreqVectors(0); z is null. So I can't get the frequency vectors. Help will be very much appr

IndexReader question

2005-11-17 Thread Anna Buczak
I built an index of my documents using Lucene. I am interested in exporting part of the information in the Lucene index to a file (and using that file in another application). The information that I want to export consists mainly of the frequencies of the words in each of the documents. Does an