Open
Description
Description
We need to figure out a good search experience for v2 site.
@Simek I'll let you explain the exact need, but as far as I understand, if a component exist in v0.63 and not in v0.64, we should still be able to search it while browsing 0.64
There's an Algolia option that could be useful for that: https://www.algolia.com/doc/api-reference/api-parameters/optionalFilters/
But I see 2 problems:
- older versions (< 0.55) are archived, so they won't appear anyway
- afaik optionalFilters will not filter duplicates across versions, which may produce weird search results
This is also related to a broader docusaurus subject where we should allow contextual search. If a user is in v0.62 we should probably present him v0.62 search results in priority (facebook/docusaurus#3396)