diff --git a/config.php.example b/config.php.example index fe4e344..70d8d79 100644 --- a/config.php.example +++ b/config.php.example @@ -127,11 +127,10 @@ "preferred_engines" => array( - - /* replace with "text" => "duckduckgo" to use duckduckgo instead - * (recommended if being ratelimited */ - "text" => "google" - // "text" => "duckduckgo" + /* replace "auto" with a specific engine if you wish to use only that one engine, which may increase rate limiting + use default "auto" to automatically use any engine that is working + available engines: "brave", "duckduckgo", "ecosia", "google", "mojeek", "yandex" */ + "text" => "auto" ), diff --git a/docker/README.md b/docker/README.md index 17643b1..12c8689 100644 --- a/docker/README.md +++ b/docker/README.md @@ -128,7 +128,7 @@ This docker image was developed with high configurability in mind, so here is th ### Engines | Variables | Default | Examples | Description | |:----------|:-------------|:---------|:------| -| CONFIG_TEXT_SEARCH_ENGINE | "google" | "google", "duckduckgo" | Integration with external self-hosted apps, configure the desired host. | +| CONFIG_TEXT_SEARCH_ENGINE | "auto" | "brave", "duckduckgo", "ecosia", "google", "mojeek", "yandex" | Use a specific search engine, or "auto" to use any available search engine. | ### cURL | Variables | Default | Examples | Description | diff --git a/docker/attributes.sh b/docker/attributes.sh index e7abfd5..b0f4a8a 100755 --- a/docker/attributes.sh +++ b/docker/attributes.sh @@ -49,7 +49,7 @@ export APP_ANONYMOUS_OVERFLOW=${APP_ANONYMOUS_OVERFLOW:-""} export APP_SUDS=${APP_SUDS:-""} export APP_BIBLIOREADS=${APP_BIBLIOREADS:-""} -export CONFIG_TEXT_SEARCH_ENGINE=${CONFIG_TEXT_SEARCH_ENGINE:-"google"} +export CONFIG_TEXT_SEARCH_ENGINE=${CONFIG_TEXT_SEARCH_ENGINE:-"auto"} # GNU/Curl configurations. Leave 'CURLOPT_PROXY' blank whether you don't need to use a proxy for requests # Generally, a proxy is needed when your IP address is blocked by search engines in response to multiple requests within a short time frame. In these cases, it is recommended to use rotating proxies