|
ExtensionPlugIn Class |
Top Previous Next |
|
For a list of all members of this type, see ExtensionPlugIn Members.
Description
Represents a registered plug-in extension.
Thread Safety
This class is STA based and therefore safe for multithreaded access as long as the creating process continues to process its message loop.
Remarks
Extensions are used to allow the search engine to more intelligently understand file types. The three main types of extensions are listed in the ExtensionPlugInType Enumeration.
The extension information is initially loaded from the plugin_cfg sub-folder and modified with any configuration information stored in config.xml.
Example
[Visual Basic]
engineSearch = New SearchEngineClass
engineSearch.SearchCriteria.FileName = "*.pdf" engineSearch.SearchCriteria.ContainingText = "search" engineSearch.SearchCriteria.LookIn = "c:\search folder"
' Switch on the pdf converter to extract the text from PDF files.
engineSearch.SearchConfiguration.ExtensionPlugInList.Find("http://www.mythicsoft.com/pdfconverter").Active = True
Dim listResult As SearchResultItemList = engineSearch.Start( False )
|