Click or drag to resize

ContentExtractorFactoryLoadCustomEntityDefinitions Method

Loads user defined custom item definitions that can be detected in extracted text and metadata, see CustomEntityExtractionEnabled and CustomEntityDefinition. It is important to see remarks, as custom item defintions can only be loaded once.

Namespace: OpenDiscoverSDK
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
public static void LoadCustomEntityDefinitions(
	List<CustomEntityDefinition> customEntityDefinitions
)

Parameters

customEntityDefinitions  ListCustomEntityDefinition
A list of user defined CustomEntityDefinition to detect in extracted text and metadata.
Remarks

This method MUST only be called once at application initialization or before any document content extraction is started by any thread. Unpredicatable behavior could result if called while other threads are using the Open Discover SDK for document content extraction.

The custom item definitions are cached for the duration of the Open Discover SDK parent process. The user can still enable/disable the detection of custom item definitions during document content extraction using EntityExtractionSettings property (see property CustomEntityExtractionEnabled).

See Also