diff --git a/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js b/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js index 005782de4d64..010360216e9b 100644 --- a/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js +++ b/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js @@ -43,8 +43,6 @@ function DocSearch({contextualSearch, ...props}) { ...props.searchParameters, }; - console.log('searchParameters', contextualSearch, searchParameters); - const {withBaseUrl} = useBaseUrlUtils(); const history = useHistory(); const searchButtonRef = useRef(null); diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 73bf9cd887a3..f746566750af 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -249,10 +249,7 @@ module.exports = { algolia: { apiKey: '47ecd3b21be71c5822571b9f59e52544', indexName: 'docusaurus-2', - // contextualSearch: true, - searchParameters: { - facetFilters: [`version:current`], - }, + contextualSearch: true, }, navbar: { hideOnScroll: true,