Is there a way to exclude a topic from the search results or deprioritize matches in that topic? #486
-
I use GitBook to publish end user documentation. The documentation includes topics for the product release notes, which date back over a few years. We've had an issue where some searches turn up the release notes results first, even though that's probably the last match that users actually want when they're looking for help on how to do something. In some cases, there are several release note matches before the user sees any matches from the actual help content. Is there a way to indicate that a search should ignore a topic, or deprioritize the topic so that matches are at the bottom of the list? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Not at the moment. But this is an interesting and relevant use case that we need to find a way to address. I think we need to find a way to tackle it without having GitBook users manually control search at the page level; for example, we could use the modification date of the page to boost/unboost the ranking of the pages |
Beta Was this translation helpful? Give feedback.
-
Not sure if modification date would completely cover it, since we add new release notes every week. But thank you for responding and for thinking about it. If worst comes to worst we might consider moving the release notes to a different space. |
Beta Was this translation helpful? Give feedback.
-
You can now exclude selected pages from the search index: https://github.com/orgs/GitbookIO/discussions/730 |
Beta Was this translation helpful? Give feedback.
Hey @JaniceManwiller, we just shipped a feature that lets you control which pages are indexed in search. This should help you prioritize your help content over release notes 🤞. You can find more details in #730