Skip to content

fix(v2): Algolia: allow contextualSearch + facetFilters#3804

Merged
slorber merged 2 commits into
masterfrom
slorber/contextualSearchFilters
Nov 23, 2020
Merged

fix(v2): Algolia: allow contextualSearch + facetFilters#3804
slorber merged 2 commits into
masterfrom
slorber/contextualSearchFilters

Conversation

@slorber

@slorber slorber commented Nov 23, 2020

Copy link
Copy Markdown
Collaborator

Motivation

Merge contextual search facetFilters with config-provided facetFilters.

Remove security: not a big deal because users will notice easily if their search is broken due to an extra useless config filter.

Fixes #3790

Test Plan

preview + locally

Related PRs

#3550

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Nov 23, 2020
@slorber slorber requested a review from lex111 as a code owner November 23, 2020 18:12
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 23, 2020
@netlify

netlify Bot commented Nov 23, 2020

Copy link
Copy Markdown

Deploy preview for docusaurus-2 ready!

Built with commit 9931a40

https://deploy-preview-3804--docusaurus-2.netlify.app

@github-actions

github-actions Bot commented Nov 23, 2020

Copy link
Copy Markdown

Size Change: +21 B (0%)

Total Size: 154 kB

ℹ️ View Unchanged
Filename Size Change
website/build/blog/2017/12/14/introducing-docusaurus/index.html 20.7 kB +2 B (0%)
website/build/docs/introduction/index.html 180 B 0 B
website/build/index.html 5.86 kB 0 B
website/build/main.********.js 110 kB +19 B (0%)
website/build/styles.********.css 17.3 kB 0 B

compressed-size-action

@lex111 lex111 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add such support for the search page in near future?

@netlify

netlify Bot commented Nov 23, 2020

Copy link
Copy Markdown

Deploy preview for docusaurus-2 ready!

Built with commit 17e38d3

https://deploy-preview-3804--docusaurus-2.netlify.app

@slorber

slorber commented Nov 23, 2020

Copy link
Copy Markdown
Collaborator Author

Yes @lex111 , was actually going to fill an issue because the search page does not respect Algolia site config

@slorber slorber merged commit f1bed8d into master Nov 23, 2020
@lex111 lex111 added this to the v2.0.0-alpha.69 milestone Nov 23, 2020
@slorber slorber deleted the slorber/contextualSearchFilters branch August 17, 2021 17:59
mrizwanashiq pushed a commit to mrizwanashiq/docusaurus that referenced this pull request Jun 25, 2026
* remove contextualSearch facetFilters  merging security

* update doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v2] allow defining additional filters for algolia when using contextualSearch

3 participants