Central Event System (Plug-ins)

Overview

Central Event System Diagram

The behavior of the search engine components can be customized and/or extended through standard sub-classing, or through the Central Event System. By specifying your own custom logic in an assembly you can, for example, filter documents, override file contents, assign documents to location or content categories (see Example) etc. The Central Event System is relatively simple, and consists of 2 parts; events fired from the search engine code and code that will handle some or all of the events (usually a custom built DLL). Essentially, a simple custom DLL can be created and pointed to in the search configuration - it will then be loaded and initialized by the search engine.

The events are typically

The event argument objects are mutable, so they can be changed - eg. the result list can be resorted, or word can be taken out of a newly read document.

The pro's & con's of customization via the Central Event System or through sub-classing are;

Central Event System

Sub-classing

Writing And Using A Plug-in (Examples: Assigning Location & Content Categories, Site Map Creator, Adding Document Parsers, Modify Identified Character Encoding)

Directly Accessing Central Events Without Using A Plug-in

Available Events