GroupDocsGists
10/24/2017 - 1:27 PM

Examples-CSharp-GroupDocs.Search.Examples.CSharp-Indexing-CreateIndexInMemoryWithIndexSettings.cs

// For complete examples and data files, please go to https://github.com/atirtahirgroupdocs/GroupDocs.Search-for-.NET
bool quickIndexing = true;
IndexingSettings settings = new IndexingSettings(quickIndexing);

// Create index on disk
Index index1 = new Index(settings);

// Create index on disk using Index Repository
IndexRepository repository = new IndexRepository();
Index index2 = repository.Create(settings);