a time) so I can just iterate through all the documents using
for (int i=0; ihttp://www.research.ibm.com/people/g/donnagresh
[EMAIL PROTECTED]
"Erick Erickson" <[EMAIL PROTECTED]>
03/20/2007 03:08 PM
Please respond to
java-user@lucene.apache.org
To
java-user@luce
respond to
java-user@lucene.apache.org
To
java-user@lucene.apache.org
cc
Subject
Re: Obtaining the (indexed) terms in a field in a particular document
Sorry, but you have to have the Lucene document ID, which you
can get either as part of a Hits or HitCollector or...
or by using TermDocs/TermEnum on you
Sorry, but you have to have the Lucene document ID, which you
can get either as part of a Hits or HitCollector or...
or by using TermDocs/TermEnum on your unique id (my_id in
your example).
Erick
On 3/20/07, Erick Erickson <[EMAIL PROTECTED]> wrote:
You can do a document.get(field), *assuming*
You can do a document.get(field), *assuming* you have stored the data
(Field.Store.YES) at index time, although you may not get
stop words.
On 3/20/07, Donna L Gresh <[EMAIL PROTECTED]> wrote:
My apologies if this is a simple question--
How can I get all the (stemmed and stop words removed, et