NiFi Ingest 25.4
NiFi Ingest

# NonGreedyMatch

Set `NonGreedyMatch` to `True` to configure Named Entity Recognition to return the shortest match that it finds. In this case, when Named Entity Recognition finds two matches that start at the same word, from two different entities, Named Entity Recognition returns only the shortest match.

Setting `NonGreedyMatch` to `True` implicitly turns off AllowOverlaps and AllowMultipleResults. If you have set these parameters, `NonGreedyMatch` takes precedence.

For more information on how to configure the Named Entity Recognition matching behavior using `NonGreedyMatch`, refer to the Named Entity Recognition User and Programming Guide.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | Any section that you have defined for Named Entity Recognition settings
Example: | `NonGreedyMatch=True`
See Also: | AllowMultipleResults AllowOverlaps

Copyright 2018-2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 25.4

Topic Title: NonGreedyMatch