Index Documents into IDOL

The final step in this example is to index documents into an IDOL Content component.

To index documents into IDOL

  1. Add an idol.nifi > PutIDOL processor to the canvas.

  2. Create a connection between the RemoveDocumentPart processor and the PutIDOL processor. Hover the mouse over the RemoveDocumentPart Processor until you see the connection icon - - and then drag the icon to the PutIDOL processor.

    The Create Connection dialog box opens.

  3. In the For Relationships area, select the success check box and click ADD.

    The connection appears on the canvas and NiFi automatically adds the queue between the processors. Any FlowFiles that are successfully processed by the RemoveDocumentPart processor will be added to the queue for indexing.

  4. Right-click the PutIDOL processor and click Configure.

    The Configure Processor dialog box opens.

  5. Click the Properties tab.
  6. In the properties list, set the following properties:

    IDOL License Service The name of your IDOL License Service.
    IDOL Host The host name or IP address of the machine hosting the IDOL Content component.
    IDOL ACI Port The ACI port of the IDOL Content component.
    Indexer Batch Size The maximum number of FlowFiles to accumulate before indexing documents. Indexing documents in larger batches can be more efficient; indexing smaller batches more frequently means that an individual document might spend less time in the queue.
  7. Click the Relationships tab.
  8. For the success relationship, select the terminate check box. Indexing is the last step in this example, so we can terminate this relationship.
  9. Click Apply.