EntityMatchLimitN

The maximum number of matches to return for the entities specified by the corresponding EntityN parameter. When Eduction reaches the limit it stops searching for those entities, so no further matches are returned and Eduction does not spend time looking for them.

If the EntityN parameter specifies multiple entities, using a wildcard or a comma-separated list, the limit applies separately to each entity. For example, the following configuration would permit up to three matches for British names, and up to three for French names, and so on:

Entity0=pii/name/*
EntityMatchLimit0=3

The limit is applied after post-processing, so any matches that are discarded by post-processing do not count towards the limit.

You might set this parameter if you want to see some matches for a given entity but would prefer to ignore further matches in favor of reducing the processing time.

NOTE: In the Eduction SDKs, you can turn off an entity by setting EdkSessionSetEntityMatchLimit (or an equivalent) to zero. However, you cannot configure a match limit of zero in the configuration file.

Type: Integer
Default: unlimited
Range:

Minimum: 1

NOTE: If you use a non-valid value, NiFi Ingest uses the default setting (unlimited matches)

Required: No
Configuration Section:

Any section that you have defined for Eduction settings

Example:

With the following configuration Eduction returns a maximum of three matches for the pii/name/gb entity.

Entity0=pii/name/gb
EntityMatchLimit0=3

See Also:

EntityN

MaxMatchesPerDoc