Index Constructor (String)
Initializes a new instance of the Index class. Creates a new or opens an existing index on disk.

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.6
Syntax
public Index(
	string indexFolder
)

Parameters

indexFolder
Type: SystemString
The index folder path.
Examples
The example demonstrates how to create an index on a disk or open an existing index.
C#
string indexFolder = @"c:\MyIndex\";
Index index = new Index(indexFolder);
See Also