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