Gets or sets a document filter. The DocumentFilter works on the inclusion logic. Use the DocumentFilter class for creation of a document filter instances. The default value is null, which means that all added documents are indexed.
Gets or sets a logger that is used for logging events and errors in the index. Note that the logger is not saved and must be created and assigned each time the index is created or loaded.
Gets or sets the number of threads used for the search. The default value is Default, which means that the search will be performed using the number of threads equal to the number of processor cores.
The example demonstrates a typical usage of the class.
stringindexFolder=@"c:\MyIndex\";IndexSettingssettings=newIndexSettings();settings.IndexType=IndexType.CompactIndex;// Setting the index typeIndexindex=newIndex(indexFolder,settings);// Creating an index