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
Hi all,
The documentation for the above method mentions something called a
vectorized field. Does anyone know what a vectorized field is?
This email and any attached files are confidential and copyright protected. If
you are not the addressee, any dissemination of this communication is stric
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
)
...
-Message d'origine-
De : Jean-Francois Beaulac [mailto:[EMAIL PROTECTED]
Envoyé : November 12, 2006 3:50 PM
À : java-user@lucene.apache.org
Objet : IndexReader.getTermFreqVectors() throws Read past EOF exception
Hi,
I make a search on several indexes using a MultiSearcher and I can
Hi,
I make a search on several indexes using a MultiSearcher and I can only
retrieve the TermFreqVectors from the IndexSearcher in the Searcher at
position 0 in my searchable array.
For example ():
hits = multi.search(luceneQuery);
for (int k = 0; k < hits.length(); k++) {
((IndexSearc
11 matches
Mail list logo