Apache Tika Parser Stage
Apache Tika is a versatile parser that supports many types of unstructured document formats, such as HTML, PDF, Microsoft Office documents, OpenOffice, RTF, audio, video, images, and more. A complete list of supported formats is available at http://tika.apache.org/.
To perform image text extraction when Include images is enabled, Tesseract should be installed in the server hosting Fusion.
|
When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.
|
Parse Office documents (ppt/docx/pdf), HTML files, images (jpeg/tiff), and more. See "Supported Formats" at https://tika.apache.org/ for a full list
id - string
Default: 19cc0242-8017-484b-a2e9-7f6db70f83c5
label - string
A label for this Parser Stage
<= 255 characters
enabled - boolean
Default: true
mediaTypes - array[string]
Documents with a media type on this list will be matched by this parser stage. See inheritMediaTypes / use default media types for more.
inheritMediaTypes - boolean
Each parser stage has a built-in list of media types it handles by default. If this setting is true, that list will be used along with any optional additional types provided in the mediaTypes list. If this setting is false, this stage will only be selected for media types in the mediaTypes list, and the mediaTypes list becomes a mandatory property which must have at least one valid media type.
Default: true
pathPatterns - array[object]
Specify a file name or pattern that must be matched for this parser stage to run. Forward slashes ("/") are used to join names of files inside archives with the archive name.
object attributes:{syntax
: {
display name: Pattern type
type: string
}pattern
: {
display name: File name or pattern
type: string
}}
errorHandling - string
Default: mark
Allowed values: ignorelogfailmark
outputFieldPrefix - string
Fields extracted by this parser will be prefixed with this string. The remainder of the field name will be as detected in the stream
<= 20 characters
Match pattern: ^$|^[A-Za-z_][A-Za-z0-9_\-\.]+$
includeImages - boolean
Default: false
flattenCompound - boolean
Default: false
addFailedDocs - boolean
Default: false
addOriginalContent - boolean
Default: false
contentEncoding - string
Default: binary
Allowed values: binarybase64
returnXml - boolean
Default: false
keepOriginalStructure - boolean
Default: false
extractHtmlLinks - boolean
Collect links explicitly declared in document structure (e.g. using HTML tags, bookmarks, etc)
Default: true
extractOtherLinks - boolean
Use regex-based heuristic extractor to collect likely links from plain text content in all fields.
Default: false
excludeContentTypes - array[string]
List of content types to exclude from parsing
zipBombCompressionRatio - integer
Maximum number of output bytes fusion will generate per input byte. If you are indexing highly compressed files, you may increase this value to avoid triggering 'Zip Bomb' detection
Default: 200
zipBombMaxDepth - integer
Returns the maximum XML element nesting level. If you are indexing highly nested files, you may increase this value to avoid triggering 'Zip Bomb' detection
Default: 200
zipBombMaxPackageEntryDepth - integer
Sets the maximum package entry nesting level. If you are indexing highly nested files, you may increase this value to avoid triggering 'Zip Bomb' detection
Default: 20
type - stringrequired
Default: tika
Allowed values: tika