Re: numDocs method of IndexReader

2005-04-19 Thread Tomcat Programmer
Hi Otis, Thanks for your answer on the integer issue. I was not sure if the index was actually limited, or if it was just the numDocs method call. I guess it really does not matter which it is; and for me, I don't think my index will ever get that large! I do have a couple of questions from you

numDocs method of IndexReader

2005-04-19 Thread Tomcat Programmer
Hello Everyone, I need to be able to iterate through the entire set of documents within the index to perform some auditing. I originally tried the following code snip: int ndoc = idxReader.numDocs(); for (int i=0; i< ndoc; i++) { Document doc = idxReader.document(i); . . . } T