Skip to end of metadata
Go to start of metadata

KIM Document Handlers are 'attached' to the document repository module and are executed:

  • before a document is added to the repository
  • after a document is added to the repository
  • when a document is removed from the document repository

Each handler has to implement interface.

Document handlers are configured through the comma-separated list of values within <KIM_HOME>/config/ called

Handlers are useful when one wants to add user-defined document features to a document, which is about to be added, or to log statistics about that document.

Example: Adding LENGTH feature to the document

If users want to load that document handler within KIM context, they have to update the parameter like that:

In order to preserve the specific document feature, users also need to add it to the list of supported features within <KIM_HOME>/config/ configuration file:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.