# 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 a processor, by dragging the processor icon from the components toolbar to the canvas.

   The Add Processor dialog box opens.

2. In the Source list, click idol.nifi.

   The list of processors is filtered to those that are provided in the NiFi Ingest distribution.

3. Select the PutIDOL processor and click ADD.

   The processor is added to the canvas.

4. 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.

5. 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 were successfully processed by the RemoveDocumentPart processor will be added to the queue for indexing.

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

   The Configure Processor dialog box opens.

7. Click the Properties tab.

8. In the properties list, set the following properties:

   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.

9. Click the Settings tab.
10. In the Automatically Terminate Relationships area, select the success check box. In this example, there are no further steps after documents are successfully indexed so you must terminate this relationship.
11. Click Apply.

_FT_HTML5_bannerTitle.htm