KorAP / Krill

:mag: A Corpus Data Retrieval Index using Lucene for Look-Ups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reloading Krill index reader

margaretha opened this issue · comments

Kustvakt provides an API for closing Krill index reader at /index/close requiring an admin token. The token is contained in the adminToken file in the Kustvakt jar folder. If it doesn't exist, Kustvakt will auto-generate it at server start up.

Request example with curl:
curl -v -H "Content-Type: application/x-www-form-urlencoded" "http://10.0.10.51:8000/api/v1.0/index/close" -d @adminToken