Add KeyView Filtering
The second step in this example pipeline is KeyView Filtering. Filtering extracts text from a file and adds it to the document.
To add KeyView Filtering
-
Add a processor, by dragging the processor icon
from the components toolbar to the canvas.
The Add Processor dialog box opens.
-
In the Source list, click idol.nifi.
The list of processors is filtered to those that are provided in the NiFi Ingest distribution.
-
Select the KeyViewFilterDocument processor and click ADD.
The processor is added to the canvas.
-
Create a connection between the KeyViewExtractFiles processor and the KeyViewFilterDocument processor. Hover the mouse over the KeyViewExtractFiles processor until you see the connection icon -
- and then drag the icon to the KeyViewFilterDocument processor.
The Create Connection dialog box opens.
-
In the For Relationships area, select the success check box so that any FlowFiles that were successfully processed by the KeyViewExtractFiles processor are queued for filtering. Then, click ADD.
The connection appears on the canvas. NiFi automatically adds a queue between the KeyViewExtractFiles processor and the KeyViewFilterDocument processor.
-
Right-click the KeyViewFilterDocument processor and click Configure.
The Configure Processor dialog box opens.
- Click the Properties tab.
- In the properties list, set the IDOL License Service property to the name of the IDOL License Service that you created in Create a License Service.
- In the properties list, set the KeyView Filter Service property to the name of the service that you created in Add a KeyView Service.
- Click the Scheduling tab.
- In the Concurrent Tasks box, type the number of FlowFiles to process concurrently. If your server has sufficient resources you can increase the value so that KeyView uses multiple threads and filters many documents concurrently.
- Click Apply.