opensafely / documentation

Documentation for the OpenSAFELY platform
https://docs.opensafely.org
Other
35 stars 5 forks source link

Search returns "raw" schemas before other schemas #1455

Closed evansd closed 1 month ago

evansd commented 7 months ago

Searching for tables which appear in both "cooked" and "raw" schemas returns the raw schema first, which confuses users.

For example: image

Thread where this confusion arose: https://bennettoxford.slack.com/archives/C04DVD1UQC9/p1709896596557359

StevenMaude commented 7 months ago

The developers of Material for MkDocs are working on an improved search feature, which might help here.

As a shorter term solution, perhaps manually adjusting the search boost to derank one page relative to the other might be worth testing out.

evansd commented 1 month ago

Closing in favour of https://github.com/opensafely-core/ehrql/issues/2086 (I'd have just transferred the issue but it's a different org so that's not possible).