GroupDocsGists
10/24/2017 - 1:27 PM

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

// For complete examples and data files, please go to https://github.com/atirtahirgroupdocs/GroupDocs.Search-for-.NET
// Create index
Index index = new Index(Utilities.indexPath);
// all files from folder and its subfolders will be added to the index
index.AddToIndex(Utilities.documentsPath);