mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Add rest endpoints to re-create the index
This commit is contained in:
@ -84,8 +84,28 @@ docspell.server {
|
||||
}
|
||||
}
|
||||
|
||||
fulltext-search {
|
||||
# Configuration of the full-text search engine.
|
||||
full-text-search {
|
||||
# The full-text search feature can be disabled. It requires an
|
||||
# additional index server available which needs additional
|
||||
# memory and disk space. It can be enabled later any time.
|
||||
#
|
||||
# Currently the SOLR search platform is supported.
|
||||
enabled = true
|
||||
|
||||
# When re-creating the complete index via a REST call, this key
|
||||
# is required. If left empty (the default), recreating the index
|
||||
# is disabled.
|
||||
#
|
||||
# Example curl command:
|
||||
# curl -XPOST http://localhost:7880/api/v1/open/fts/reIndexAll/test123
|
||||
recreate-key = ""
|
||||
|
||||
# Configuration for the SOLR backend.
|
||||
solr = {
|
||||
url = "http://localhost:8983/solr/docspell_core"
|
||||
commit-within = 1000
|
||||
}
|
||||
}
|
||||
|
||||
# Configuration for the backend.
|
||||
@ -147,14 +167,5 @@ docspell.server {
|
||||
# By default all files are allowed.
|
||||
valid-mime-types = [ ]
|
||||
}
|
||||
|
||||
# Configuration of the full-text search engine.
|
||||
full-text-search {
|
||||
enabled = true
|
||||
solr = {
|
||||
url = "http://localhost:8983/solr/docspell_core"
|
||||
commit-within = 1000
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user