diff --git a/website_and_docs/hugo.toml b/website_and_docs/hugo.toml
index e27da8eef1f8..9410ae9200aa 100644
--- a/website_and_docs/hugo.toml
+++ b/website_and_docs/hugo.toml
@@ -152,7 +152,7 @@ offlineSearch = false
offlineSearchMaxResults = 30
# Enable Algolia DocSearch
-algolia_docsearch = true
+search.algolia = true
# Enable Plausible.io
plausible_analytics = true
diff --git a/website_and_docs/layouts/partials/hooks/body-end.html b/website_and_docs/layouts/partials/hooks/body-end.html
index 9a923c07f9ac..ce43e2131416 100644
--- a/website_and_docs/layouts/partials/hooks/body-end.html
+++ b/website_and_docs/layouts/partials/hooks/body-end.html
@@ -1,4 +1,4 @@
-{{ with .Site.Params.algolia_docsearch }}
+{{ with .Site.Params.search.algolia }}