IndexUpdate Method |
Namespace: GroupDocs.Search
string indexFolder = @"c:\MyIndex\"; string documentsFolder = @"c:\MyDocuments\"; Index index = new Index(indexFolder); // Creating index in the specified folder index.Add(documentsFolder); // Indexing documents from the specified folder // Delete documents from the documents folder or modify them or add new documents to the folder index.Update(); // Updating the index