lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen (JIRA)" <>
Subject [jira] Commented: (LUCENENET-62) IndexReader.IndexExists() Fails if directory doesn't exists.
Date Tue, 14 Aug 2007 14:33:30 GMT


Naveen commented on LUCENENET-62:

With new method EnsureOpen introduced in readers and writers, this should not be an issue.
That method will throw appropriate exception if the index is closed. And that probbaly would
be mean index does not exist as well.
For now this patch should definitely work.

> IndexReader.IndexExists() Fails if directory doesn't exists.
> ------------------------------------------------------------
>                 Key: LUCENENET-62
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Jeff
>            Priority: Minor
>         Attachments: IndexReader.patch
> There is no check to see if the Directory Exists before it checks for the index files,
it just throws an error.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message