Forked Apache Tika Parser Stage

A simplified Apache Tika parser more geared towards an Enterprise Search crawl where all documents are parsed in a forked Java Virtual Machine. If memory issues occur during the parse, such as an Out Of Memory condition, the connector job will be unaffected.

Important
The Forked Apache Tika parser is only available on Fusion 4.2.4+. To use this parser, you will be required to update to the latest version of Fusion.
Tip
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.

Forked Apache Tika stage-specific properties

Property Description, Type
addFailedDocs

Add failed documents

type: boolean

default value: 'false'

contentEncoding

Content transport encoding of the content (per RFC1341)

type: string

default value: 'binary'

enum: { binary base64 }

enabled

Enable this Parser Stage

type: boolean

default value: 'true'

errorHandling

Error Handling

type: string

default value: 'mark'

enum: { ignore log fail mark }

excludeContentTypes

Content types to exclude

List of content types to exclude from parsing

type: array of string

extractHtmlLinks

Extract XHTML links

Collect links explicitly declared in document structure (e.g. using HTML tags, bookmarks, etc)

type: boolean

default value: 'true'

id

Parser ID

type: string

default value: '12ae47e0-d557-4f55-b4ed-c688a32ba46b'

includeImages

Include images

type: boolean

default value: 'false'

inheritMediaTypes

Match default media types in this Parser Stage

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.

type: boolean

default value: 'true'

maxBytesReturned

Max bytes returned

Sets the maximum amount of bytes that can be returned from the parser.

type: integer

default value: '100000000'

mediaTypes

Media Types to match

Documents with a media type on this list will be matched by this parser stage. See inheritMediaTypes / use default media types for more.

type: array of string

outputFieldPrefix

Prefix parsed fields with

Fields extracted by this parser will be prefixed with this string. The remainder of the field name will be as detected in the stream

type: string

maxLength: 20

pattern: ^$|^[A-Za-z_][A-Za-z0-9_\-\.]+$

parseTimeoutMs

Parse timeout (ms)

The maximum amount of time in milliseconds that a single parse can take.

type: integer

default value: '60000'

pathPatterns

File names to parse

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.

type: array of object

object attributes: {
  pattern : {
    display name: File name or pattern
    type: string
    description : e.g.: "z.txt" or "*.md" or "/a/*/b/f.txt" for glob; "z.txt$" or ".*\.txt$" or "^/a/[^\/]*/b/f.txt$" for regex
    }
  syntax : {
    display name: Pattern type
    type: string
    default value: 'glob'
    description : glob uses bash shell-style wildcards; regex uses Java (PCRE-style) regex
    enum: { glob regex     }

    }
  }
type

required

type: string

default value: 'tikafork'

enum: { tikafork }

zipBombCompressionRatio

Maximum input-to-output byte ratio

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

type: integer

default value: '200'

zipBombMaxDepth

Maximum nesting depth

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

type: integer

default value: '200'

zipBombMaxPackageEntryDepth

Maximum package entry depth

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

type: integer

default value: '20'