Is using IndexReader.numDocs() on the Directory instance, the only way
to count the indexed entries?

On Fri, Sep 24, 2010 at 9:40 AM, Pulkit Singhal <pulkitsing...@gmail.com> wrote:
> Hello Everyone,
>
> I want to load the indexed data from the file system using FSDirectory.
> But I also want to be sure if something was actually loaded or if a
> new empty directory was created and returned to me.
> How can I count the # of entries in the Directory object returned to me?
>
> Thanks!
> - Pulkit
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to