The example demonstrates a typical usage of the class.
stringindexFolder=@"c:\MyIndex\";stringdocumentsFolder=@"c:\MyDocuments\";stringquery="Einstein";stringlogPath=@"c:\Log.txt";IndexSettingssettings=newIndexSettings();settings.Logger=newFileLogger(logPath,4.0);// Specifying the path to the log file and a maximum length of 4 MBIndexindex=newIndex(indexFolder,settings);// Creating an index in the specified folderindex.Add(documentsFolder);// Indexing documents from the specified folderSearchResultresult=index.Search(query);// Search in index