DotLucene 1.4 API Documentation |

# IndexReader.IndexExists Method

Returns `true` if an index exists at the specified directory. If the directory does not exist or if there is no index in it.

#### Overload List

Returns `true` if an index exists at the specified directory. If the directory does not exist or if there is no index in it.

> public static bool IndexExists(Directory);

Returns `true` if an index exists at the specified directory. If the directory does not exist or if there is no index in it.

> public static bool IndexExists(FileInfo);

Returns `true` if an index exists at the specified directory. If the directory does not exist or if there is no index in it. `false` is returned.

> public static bool IndexExists(string);

#### See Also

IndexReader Class | Lucene.Net.Index Namespace