[ 
https://issues.apache.org/jira/browse/LUCENENET-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521585
 ] 

George Aroush commented on LUCENENET-62:
----------------------------------------

(Commenting to Naveen's comment.)

The patch is the right patch.  The Java equivalent of File.list() will return 
an null array (when the directory is invalid) vs. .NET's 
Directory.GetFileSystemEntries() throws an exception.

> 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
>            Assignee: George Aroush
>            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.

Reply via email to