Re: numDocs method of IndexReader

2005-04-20 Thread Otis Gospodnetic
--- Tomcat Programmer <[EMAIL PROTECTED]> wrote: > > 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 w

Re: numDocs method of IndexReader

2005-04-19 Thread Morus Walter
Otis Gospodnetic writes: > > The link to list archives should be on lucene.apache.org. > It should, but the link there does not work. All you get is 'Error occurred Required parameter "listId" or "listName" is missing or invalid' from mail-archives.apache.org Something seems to be broken. So t

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

Re: numDocs method of IndexReader

2005-04-19 Thread Otis Gospodnetic
Hello, Yes, there is a limit, but it's pretty high: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Integer.html#MAX_VALUE Iterating the index like that is ok, but each call do reader.document(int) pulls the entire Document off the disk, which can get expensive. The link to list archives shoul