Returns
CopyC#
if an index exists at the specified directory.
If the directory does not exist or if there is no index in it.
CopyC#
is returned.
Namespace: Lucene.Net.IndexAssembly: 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
) |
Return Value
CopyC#
if an index exists;
CopyC#
otherwise
See Also