The example demonstrates a typical usage of the interface.
stringindexFolder=@"c:\MyIndex\";stringdocumentsFolder=@"c:\MyDocuments\";stringquery="Einstein";// Creating an indexIndexindex=newIndex(indexFolder);// Subscribing to the eventindex.Events.ErrorOccurred+=(sender,args)=>{Console.WriteLine(args.Message);};// Indexing documents from the specified folderindex.Add(documentsFolder);// Searching in the indexSearchResultresult=index.Search(query);