opened
csestito
username_0
<!--

  ! PLEASE HELP US HELP YOU !

  Bugs are fixed faster if you include:
  - a repro repository to inspect the code
  - an url to see the problem live (if possible)

  Pro tip: create a reproducible demo of the bug with https://new.docusaurus.io

-->

## 🐛 Bug Report

The search parameters e.g. facets passed into searchParameters are used for the SearchBar, but don't carry over to the DocSearchPage. 

### Have you read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/master/CONTRIBUTING.md#reporting-new-issues)?

Yes 

## To Reproduce

If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

1. Add a facet to searchParameters to algolia in docusaurus config'
2. Search in Search Bar
3. Click view all
4. See filter is not run on the search page
5. 
## Expected behavior

<!--
  How did you expect your project to behave?
  It’s fine if you’re not sure your understanding is correct.
  Write down what you thought would happen.
-->

any searchParameters specified in the config would carry over to the DocSearchPage 

## Actual Behavior

<!--
  Did something go wrong?
  Is something broken, or not behaving as you expected?
  Describe this section in detail, and attach screenshots if possible.
  Don't only say "it doesn't work"!
-->

No searchParameters were used on the DocSearchPage

## Your Environment

<!-- Include as many relevant details about the environment you experienced the bug in -->

- Public source code/URL https://codesandbox.io/s/magical-mclaren-byg9e?file=/docusaurus.config.js
- Docusaurus version used: 70

## Reproducible Demo

If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

https://codesandbox.io/s/magical-mclaren-byg9e?file=/docusaurus.config.js

<!--
  What happens if you skip this step?

  Someone will read your bug report, and maybe will be able to help you,
  but it’s unlikely that it will get much attention from the team. Eventually,
  the issue will likely get closed in favor of issues that have reproducible demos.

  Please remember that:

    * Issues without reproducible demos have a very low priority.
    * The person fixing the bug would have to do that anyway. Please be respectful of their time.
    * You might figure out the issues yourself as you work on extracting it.

  Thanks for helping us help you!
-->
Algolia DocSearchPage doesn't inherit searchParameters 
issue
closed
slorber
username_1
issue
created
slorber
username_1
Yes you are right

Duplicate of https://github.com/facebook/docusaurus/issues/3805
comment