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