From 300cc96538a3808618e4d142043b8b0c66b5faa1 Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Tue, 3 Sep 2024 09:49:07 +0200 Subject: [PATCH] fix(common/api): emsch get via the admin API (EMS_ELASTICSEARCH_PROXY_API) (#997) --- elasticms-cli/parameters.md | 4 ++++ elasticms-web/parameters.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/elasticms-cli/parameters.md b/elasticms-cli/parameters.md index 90b7641..8cbea58 100644 --- a/elasticms-cli/parameters.md +++ b/elasticms-cli/parameters.md @@ -122,6 +122,10 @@ Define (JSON format) a list of content type names to exclude from admin backup/r Specify replacement strings, per locale to symbols. E.g. if you want to replace the symbol `@` by the string `at` in your slug in English and French : `{"en":{"@":"at"},"fr":{"@":"at"}}`. Default value `~` ([rely on the default Symfony configuration](https://github.com/symfony/string/blob/f5832521b998b0bec40bee688ad5de98d4cf111b/Slugger/AsciiSlugger.php#L59C42-L61C6)) +### EMS_ELASTICSEARCH_PROXY_API + +Bollean variable, if specified to `true` all elasticsearch query will be delegated to the admin api. And then you'll need to login on an admin first via the `ems:admin:login` command. By default, this variable is set to `false`. + ## CLI variables ### EMSCLI_TIKA_PATH diff --git a/elasticms-web/parameters.md b/elasticms-web/parameters.md index e941ab3..2ee1915 100644 --- a/elasticms-web/parameters.md +++ b/elasticms-web/parameters.md @@ -266,6 +266,10 @@ Important the route `/metrics` is not filtered. Define (JSON format) a list of content type names to exclude from admin backup/restore commands. Example: `["route","template","template_ems","label"]`. Default value `[]` +### EMS_ELASTICSEARCH_PROXY_API + +Bollean variable, if specified to `true` all elasticsearch query will be delegated to the admin api. And then you'll need to login on an admin first via the `ems:admin:login` command. By default, this variable is set to `false`. + ## Elasticms Form Bundle variables ### EMSF_HASHCASH_DIFFICULTY