NiFi Ingest 25.2
NiFi Ingest

# MaxSearchHeaderRow

In table mode, `MaxSearchHeaderRow` is the maximum number of rows to search a table for the HeaderEntityN entities.

By default, Named Entity Recognition searches only the first row of a table for the configured header entities. Set `MaxSearchHeaderRow` to a higher number of rows to allow Named Entity Recognition to search additional rows. It then searches for up to the `MaxSearchHeaderRow` number of rows, until it finds a header match, and then stops. For example, if you set `MaxSearchHeaderRow` to 5, and Named Entity Recognition finds a header match on the third row, it stops searching.

This method might be useful if your tables sometimes contain irrelevant information in the first few rows.

NOTE: Only rows with content count towards the row count; Named Entity Recognition does not count any empty rows.

You can also set `MaxSearchHeaderRow` to -1 (unlimited) to search the whole table to find a header match.

For more information about table extraction, refer to the Named Entity Recognition User and Programming Guide.

Type: | Integer
Default: | 1
Required: | No
Configuration Section: | Any section that you have defined for Named Entity Recognition settings
Example: |
    MaxSearchHeaderRow=5
See Also: | CellEntityN HeaderEntityN

Copyright 2018-2025 Open Text
Version 25.2 | Last updated April 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.2

Topic Title: MaxSearchHeaderRow