You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ravi <ra...@htinc.com> on 2004/12/10 20:42:36 UTC
No of docs using IndexSearcher
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: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: No of docs using IndexSearcher
Posted by "amigo@max3d.com" <am...@max3d.com>.
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.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org