Ensure that every possible path through your dataflow ends with an UnregisterDocument processor. For example, you might add an UnregisterDocument processor after your PutIDOL indexer, so that documents are unregistered after they are indexed.
NOTE: Every path must end with an UnregisterDocument processor. This means that you must not auto-terminate a relationship from any processor. For example, FlowFiles from the failed relationship of all processors must reach an UnregisterDocument processor.
To unregister documents
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 UnregisterDocument processor and click ADD.
The processor is added to the canvas.
Connect the processor at a suitable point in your dataflow (for example, after the PutIDOL processor).
Right-click the UnregisterDocument processor and click Configure.
The Configure Processor dialog box opens.
|