Returns if an index exists at the specified directory.
If the directory does not exist or if there is no index in it.
Namespace: Lucene.Net.IndexCopyC#
true
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[ObsoleteAttribute("Use IndexExists(Directory) instead. This method will be removed in the 3.0 release.")] public static bool IndexExists( FileInfo directory ) |
Visual Basic |
---|
<ObsoleteAttribute("Use IndexExists(Directory) instead. This method will be removed in the 3.0 release.")> _ Public Shared Function IndexExists ( _ directory As FileInfo _ ) As Boolean |
Visual C++ |
---|
[ObsoleteAttribute(L"Use IndexExists(Directory) instead. This method will be removed in the 3.0 release.")] public: static bool IndexExists( FileInfo^ directory ) |
Parameters
- directory
- Type: System.IO..::..FileInfo
the directory to check for an index
Return Value
CopyC#
true
CopyC#
false