Re: question about getting all terms in a section of the documents

2007-03-20 Thread Antony Bowesman
Donna L Gresh wrote: Also, the terms.close() statement is outside the scope of terms. I changed to the following, is this correct and should the FAQ be changed? try { TermEnum terms = indexReader.terms(new Term("FIELD-NAME-HERE", ""));

Re: question about getting all terms in a section of the documents

2007-03-19 Thread Otis Gospodnetic
/ - Tag - Search - Share - Original Message From: Donna L Gresh <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Monday, March 19, 2007 9:35:26 AM Subject: question about getting all terms in a section of the documents I am a very new user of Lucene, and thus far am ama

question about getting all terms in a section of the documents

2007-03-19 Thread Donna L Gresh
I am a very new user of Lucene, and thus far am amazed at its speed and ease of use. I have a question about something in the FAQ though. I have a need to get all terms in a specific section of the document; I want to create a database of term vs an identifier of the document containing the term