URL |
|
---|---|
Method |
|
Content Type |
|
Request Body |
|
Example |
|
URL |
|
---|---|
Method |
|
Example |
|
-
Create a local image of the Indexer:
docker build -t huygensing/timbuctoo-elasticsearch-indexer .
-
Run the environment:
docker-compose up -d
-
Upload data to Timbuctoo see: https://github.com/HuygensING/timbuctoo#uploading-data
-
Create an index in Timbuctoo see: https://github.com/HuygensING/timbuctoo/blob/master/documentation/create_an_index_config.adoc
-
Step 4 should trigger the indexing trigger the indexing. See the API
Run both commands from the root directory of the project.
Make sure:
* You have a version of Timbuctoo running and follow the "Getting Started" from the README.adoc
.
* You have Elasticsearch running
For example with docker: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
* This project uses:
docker pull docker.elastic.co/elasticsearch/elasticsearch:5.5.2 docker run -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" docker.elastic.co/elasticsearch/elasticsearch:5.5.2
To test the tool we use Insomnia.
The requests can be imported from insomniarequests.json
.