Setup solr schema and index all data using a system task

The task runs on application start. It sets the schema using solr's
schema api and then indexes all data in the database. Each step is
memorized so that it is not executed again on subsequent starts.
This commit is contained in:
Eike Kettner
2020-06-19 20:49:59 +02:00
parent 1f4220eccb
commit 2a0bf24088
15 changed files with 185 additions and 37 deletions

View File

@ -153,6 +153,7 @@ docspell.server {
enabled = true
solr = {
url = "http://localhost:8983/solr/docspell_core"
commit-within = 1000
}
}
}