// 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);