Re: TermFreqVector Beginner Question

2004-08-03 Thread prolog_tutor
Sorry for being a little late on this issue. -- 1.) Setting storeTermVertor to true does nothing if store is false, i.e. you must store the contents of a filed in order to retrieve TermVectors for it later. I also think it would be helpful to prevent the user from combinations

Re: TermFreqVector Beginner Question

2004-07-29 Thread Matt Galloway
Well, as one would expect most of the problems were me. Here is what I learned... (please comment on the accuracy of these statements). 1.) Setting storeTermVertor to true does nothing if store is false, i.e. you must store the contents of a filed in order to retrieve TermVectors for it

Re: TermFreqVector Beginner Question

2004-07-29 Thread Daniel Naber
On Thursday 29 July 2004 17:31, Matt Galloway wrote: Field.Text(String name, Reader value, boolean storeTermVector) Field.UnStored(String name, String value, boolean storeTermVector) DO NOT store the contents of the field This part of the API is known to be difficult and will be fixed

Re: TermFreqVector Beginner Question

2004-07-29 Thread Grant Ingersoll
Matt, Perhaps you could add this to the Wiki somewhere? May want to also add a bug report on this, so that it is captured, especially the stuff in 2.). [EMAIL PROTECTED] 07/29/04 11:31AM Well, as one would expect most of the problems were me. Here is what I learned... (please comment on the

TermFreqVector Beginner Question

2004-07-28 Thread Matt Galloway
Howdy, I am new to Lucene and thus far I am very impressed. Thanks to all who have worked on this project! I am working on a project where I want to do the following: 1.) Index a bunch of document. 2.) Pluck out one of the doucments by Lucene document number 3.) Get a term frequency for that

Re: TermFreqVector Beginner Question

2004-07-28 Thread Grant Ingersoll
Can you post the whole section of related code? Sounds like you are doing things right. In the Lucene source code, there is a file called TestTermVectors.java, take a look at that and see how your stuff compares. I ran the test against the HEAD and it worked. [EMAIL PROTECTED] 07/28/04