[
https://issues.apache.org/jira/browse/LUCENENET-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519691
]
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: https://issues.apache.org/jira/browse/LUCENENET-62
> 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.