No of docs using IndexSearcher

2004-12-10 Thread Ravi
How do I get the number of docs in an index If I just have access to a searcher on that index? Thanks in advance Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: No of docs using IndexSearcher

2004-12-10 Thread [EMAIL PROTECTED]
numDocs() http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexReader.html#numDocs() Ravi said the following on 12/10/2004 2:42 PM: How do I get the number of docs in an index If I just have access to a searcher on that index? Thanks in advance Ravi.

Re: No of docs using IndexSearcher

2004-12-10 Thread [EMAIL PROTECTED]
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 2:59 PM To: Lucene Users List Subject: Re: No of docs using IndexSearcher numDocs() http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexR eader.html#numDocs() Ravi said

RE: No of docs using IndexSearcher

2004-12-10 Thread Ravi
:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 3:25 PM To: Lucene Users List Subject: Re: No of docs using IndexSearcher If your index is open shouldnt there be an instance of IndexReader already there? Ravi said the following on 12/10/2004 3:13 PM: I already have a field with a constant value