Version-aware search: scope or boost results to the version the reader is currently browsing #5668
caradragos95
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
On a docs site that ships multiple versions side by side (e.g.
5.1/,5.7/,4.7.x/,4.0/), Mintlify's in-site search returns results across all versions ranked purely by relevance — without any awareness of the version the reader is currently browsing.In practice, this means older-version pages can outrank current-version equivalents, and readers see a result with
4.7.x/(or older) in the URL and bail. The analytics show the click never happens, but the right page does exist for their version — they just can't find it.Concrete repro on docs.flowx.ai
We ship versions
3.x → 5.7, all reachable from the version switcher.Search query:
webhook/4.7.x/setup-guides/plugins-setup-guide/reporting-setup#without-webhook/5.1/docs/platform-deep-dive/integrations/incoming-webhooksand/5.1/setup-guides/webhook-gateway-setupSame pattern shows up on other multi-version queries.
noindex: truewould mean blanket-tagging hundreds of MDX files in old-version folders, which also degrades search for users on those versions.What would solve it
Any one of these would unblock us, in order of preference:
docs.json, default off..mintignore, so we can keep pages live but pull them out of search results.Happy to be a design partner / test instance for whichever direction you take. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions