mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Remove fulltext recreate-key config value
It's now in the admin routes, protected by the `admin-endpoint.secret`.
This commit is contained in:
@ -117,10 +117,13 @@ docspell.server {
|
||||
# installed the app and have access to the system. Normal users
|
||||
# should not have access and therefore a secret must be provided in
|
||||
# order to access it.
|
||||
#
|
||||
# This is used for some endpoints, for example:
|
||||
# - re-create complete fulltext index:
|
||||
# curl -XPOST -H'Docspell-Admin-Secret: xyz' http://localhost:7880/api/v1/admin/fts/reIndexAll
|
||||
admin-endpoint {
|
||||
# The secret. If empty, the endpoint is disabled.
|
||||
secret = ""
|
||||
|
||||
}
|
||||
|
||||
# Configuration of the full-text search engine.
|
||||
@ -132,14 +135,6 @@ docspell.server {
|
||||
# Currently the SOLR search platform is supported.
|
||||
enabled = false
|
||||
|
||||
# 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 = {
|
||||
# The URL to solr
|
||||
|
@ -59,7 +59,7 @@ object Config {
|
||||
}
|
||||
}
|
||||
|
||||
case class FullTextSearch(enabled: Boolean, recreateKey: Ident, solr: SolrConfig)
|
||||
case class FullTextSearch(enabled: Boolean, solr: SolrConfig)
|
||||
|
||||
object FullTextSearch {}
|
||||
|
||||
|
Reference in New Issue
Block a user