Skip to content

Search delivers results in unexpected order #10592

@stephanie-anderson

Description

@stephanie-anderson

This was reported via Slack Message:

We should really fix the search in the docs... 😅 e.g. being in the node docs and searching for startNewTrace it only shows the result in the electron docs? that makes no sense at all, the same content exists in the node docs too 🙈

Let's make sure search results are context sensitive, e.g.

  • when in user docs deliver results from user docs (don't return any from develop)
  • when in develop docs deliver results from develop docs (don't return any from user-facing docs)
  • when on a guide site, return results, that match this guide
  • when on a platform site, return results, that match this platform, but not their guides, or other platforms or guides of those

On that note, we should also restrict access to modifying the indices

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions