Index Documents

After you have built your IDOL container system, you can index documents.

Index Documents with Docker Copy

In the default IDOL Docker Compose setup, IDOL NiFi Ingest has an internal volume that you can use to index documents. You must transfer documents to this directory by using the docker cp command.

To index a document by using docker copy

  1. Open a command prompt.

  2. Run the docker cp command to transfer a file to the basic-idol_idol-nifi_1:/idol-ingest/ volume. For example:

    docker cp example.pdf basic-idol_idol-nifi_1:/idol-ingest/

    Where your setup include Media Server, you can use the same process to ingest media files. For example:

    docker cp example.mp4 basic-idol_idol-nifi_1:/idol-ingest/

After you have run the copy, IDOL NiFi Ingest retrieves the documents from this directory and ingests them into your system.

Index Documents with a Bindmount

When you use a bindmount in your IDOL container setup, you can copy files directly to a directory on the computer. IDOL NiFi Ingest retrieves them from this directory and ingests them into your system.