SearchIndexProviderGetSearcher Method (Boolean) |
Namespace: CMS.Search
public IIndexSearcher GetSearcher( bool readOnly )
In case of readonly instance (readOnly = true) cached instance is returned and shared among other thread.
In case of writeable instance (readOnly = false) new instance is created and must be disposed by caller (Close).