serviceConfiguration.json
System configuration file with parameters determining the behavior of the CONTENTANALYZER service.
Characteristics
Profile Name | serviceConfiguration.json |
---|---|
Referenced by Services | contentanalyzer,api |
Storage Location | Git system directory |
Parameters
The following parameters are available:
Parameter Section | Parameter | Description | |
---|---|---|---|
contentanalyzer | Section of Parameters determining the default behavior of the CONTENTANALYZER service. The analysis of the content and/or mimeType can be requested or not, depending on defined conditions. If a condition matches during an import process, the content and/or mimeType will be analyzed. Note: Within the import request body, this configuration can be overwritten by specifying the | ||
skip | Decides whether the service is used (false ) or bypassed (true ). | ||
analyze | A list of property groups defining a specific behavior of the service depending on a conditions. For each condition, the determination of the mimeType and the text extraction can be activated or deactivated. | ||
predicate | A condition specified in Spring Expression Language (SpEL). | ||
mimetype | Decides whether the mimeType will be determined (true ) or not determined (false ) if the condition matches. | ||
content | Decides whether the synchronous full-text extraction will be determined ( |
Default configuration:
{"services": { "contentanalyzer": { "analyze": [ { "predicate": "spel:(properties != null && properties['Name'] != null && properties['Name']['value'] == 'disable') ? true : false", "mimetype": true, "content": false }, { "predicate": "spel:(contentStreams != null && contentStreams.size() > 0 && contentStreams[0]['range'] != null && contentStreams[0]['range'].length() > 0) ? true : false", "mimetype": false, "content": false } ] } } }