| Content | Description |
|---|
{ |
|
"Statistics": {...}, | See General section Statistics |
"Logging": {...}, | See General section Logging |
"ThriftServers": {...}, | See General section ThriftServers |
"Discovery": {...} | See Common section Discovery |
"NookDir": "/opt/iw/tm5", | In this section, the module working directory is specified. By default, /opt/iw/tm5. |
"UnsafeSignalHandlers":false | Unhandled signals support. Disabled by default (false). Once true is set, it is allowed to use unsafe handlers in code (e.g. SIGSEVG). Adding, enabling/disabling this parameter is not recommended without consultation with developers. |
"Bookworm": {...}, | See General section Bookworm |
"EnableOCR": false, | Enabling OCR extractor, able to store scanned standard documents like a text content standard. Default value - false Note: it is required to enable OCR in warpd.conf configuration file (warp section, value EnableOCR:true). |
"ErrorHandlers": { | Errors processing strategy description for each technology. |
"autoling": "NoErrorsAllowedHandler", | Is not used at present time. |
"exclusion": "NoErrorsAllowedHandler", | Is not used at present time. |
"form": "AtLeastOneSuccessHandlerWithCleanup", | Reference blanks. Default value - AtLeastOneSuccessHandlerWithCleanup (the compilation is considered to be successful if any reference document was successfully compiled. Reference document is considered to be compiled if any component of this document was successfully compiled. Choosing this strategy should admit that separate contents error information is wiped from the result and a client can get only successful contents compilations info). |
"image_learn": "NoErrorsAllowedHandler", | Is not used at present time |
"normal": "AtLeastOneSuccessHandlerNoCleanup", | Reference documents. Default value - AtLeastOneSuccessHandlerNoCleanup (similar to "AtLeastOneSuccessHandlerWithCleanup", but the content compilations error information is to be provided in conjuction with result). |
"stamp": "NoErrorsAllowedHandler", | Reference stamps. Default value - NoErrorsAllowedHandler (any compilation error of any content results in an error of the whole compilation). |
"table": "NoErrorsAllowedHandler" | Reference unloadings from DB. Default value - NoErrorsAllowedHandler (any compilation error of any content results in an error of the whole compilation). |
}, | |
"UnsafeSignalHandlers": false, | If the processing details should be sent after the changes have been implemented. Used for debugging purposes. |
"ExtractorCache": { | Extractors cache parameters |
"ExtractorCacheDepth": 0, | Maximum number of objects stored in cache, default value - 0 (cache is disabled). |
"ExtractorCacheClearExistingDir": true, | Flag specifying if the daemon cache directory content should be removed once started if it exists and not empty. The default value is - true (to remove). |
"ExtractorCacheMaxSize": 107374182400, | Maximum size of cache on the drive (in bytes) The default value is 107374182400 (100 GB). |
"ExtractorCacheFileMaxSize": 10485760, | Maximum file size to be placed into cache (bytes). The default value is 10485760 (10 MB). |
"ExtractorCacheShards": 0 | Number of streams to store data in cache. If 0 is specified the number of System's streams is considered, otherwise - the number of streams specified, preferable that it wasn't bigger than the system's streams number. Default value is - 0. |
}, | |
"DebugBreak": false, | If SIGTRAP should be sent (SIGBREAK to Windows) while any exception handling. Used for debugging purposes. |
"OutChunkSizeLimit": 1048576, | Maximum size of chunk where the compilation results are returned. Default value - 1048576 |
"ThreadsCount": 5, | Number of handling streams |
"Technologies": { | Separate technologies configuration section |
"FingerprintMinBinFileSize": 256, | Minimum size of binary reference document (bytes) |
"FormDelimitersPath": "etc/config-perm/cas/form_delimiters.json", | Path to delimiters file. Used for reference form technology |
"FormStopWordsPath": "etc/config-perm/cas/form_stopwords.txt", | Path to stop words glossary (ignored words) used to analyze forms (documents containing fields to be filled in). |
"FormMinRows": 2, | Minimum number of fields in reference blank form |
"FingerprintMaxBinFileSize": 31457280, | Maximum size of binary reference document |
"FingerprintMinTextFileSize": 256, | Minimum size of text reference document (bytes) |
"ImageMatcherConfig": "etc/config-perm/cas/image-matcher.yml", | Path to configuration of technology image analysis |
"TableStopWordsPath": "etc/config-perm/cas/table_stopwords.txt", | Path to stop words glossary to analyze DB unloadings |
"FingerprintMaxTextFileSize": 31457280, | Maximum size of text sample document (characters) |
"TableMinRows": 2, | Minimum number of rows in a sample table for DB unloadings |
"TempDir": "tmp/analysis", | Directory to store temporary files. Default value - tmp/analysis |
"VectorObjectMinSize": 800 | Minimum number of primitives to be extracted from vector image to be considered the standard ones. If it is extracted less than the number specified, the error occures: "File does not fit the standard". |
}, | |
} | |