Index Constructor (IndexSettings)
Initializes a new instance of the Index class in memory with particular index settings.

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.8
Syntax
public Index(
	IndexSettings settings
)

Parameters

settings
Type: GroupDocs.SearchIndexSettings
The index settings object.
Examples
The example demonstrates how to create index in memory without saving files to disk with particular index settings.
C#
IndexSettings settings = new IndexSettings();
settings.IndexType = IndexType.CompactIndex;
Index index = new Index(settings);
See Also