what is a term vector?
-Original Message-
From: Grant Ingersoll [mailto:[EMAIL PROTECTED]
Sent: 13 March 2007 19:28
To: java-user@lucene.apache.org
Subject: Re: IndexReader.GetTermFreqVectors
It means it return the term vectors for all the fields on that document
where you have enabled TermVec
Yes but what is a term vector?
-Original Message-
From: Grant Ingersoll [mailto:[EMAIL PROTECTED]
Sent: 13 March 2007 19:28
To: java-user@lucene.apache.org
Subject: Re: IndexReader.GetTermFreqVectors
It means it return the term vectors for all the fields on that document
where you have
It means it return the term vectors for all the fields on that
document where you have enabled TermVector when creating the Document.
i.e. new Field(, TermVector.YES) (see http://lucene.apache.org/
java/docs/api/org/apache/lucene/document/Field.TermVector.html for
the full array of optio
Thank you very much, it works now!
-Message d'origine-
De : Chris Hostetter [mailto:[EMAIL PROTECTED]
Envoyé : November 13, 2006 3:30 PM
À : java-user@lucene.apache.org
Objet : RE: IndexReader.getTermFreqVectors() throws Read past EOF exception
: - Then I call Hits searc
: - Then I call Hits searchHits = multi.search(luceneQuery);
: - After that I loop on my hits, and use:
:
: ((IndexSearcher)multi.getSearchables()[multi.subSearcher(searchHits.id(k))]).
: getIndexReader().getTermFreqVectors(searchHits.id(k))
I don't know a lot about multi-searcher, but that doesn
oticed that the exception is thrown on the first call to refill().
Thank you
-Message d'origine-
De : Jean-Francois Beaulac [mailto:[EMAIL PROTECTED]
Envoyé : November 13, 2006 12:43 PM
À : java-user@lucene.apache.org
Objet : RE: IndexReader.getTermFreqVectors() throws Read
Grant Ingersoll [mailto:[EMAIL PROTECTED]
Envoyé : November 13, 2006 11:08 AM
À : java-user@lucene.apache.org
Objet : Re: IndexReader.getTermFreqVectors() throws Read past EOF exception
Can you provide more info on your setup?
Can you run a search against just one of the other subsearchers and
s
Can you provide more info on your setup?
Can you run a search against just one of the other subsearchers and
see if you get term vectors that way? That is, simplify the process
by taking the MultiSearcher out of the equation to see if you get
valid results.
On Nov 12, 2006, at 3:50 PM, J
Forgot to post the stacktrace
java.io.IOException: read past EOF
at
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:60)
at
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:33)
at org.apache.lucene.store.IndexInput.readI