Searching efficiently through groups of tags

https://github.com/discourse/discourse/commit/8f7a387aa7553c05fbab478e3d9f3a16e2cd3ca2

We just amended search so it falls back to tag groups after attempting to search for categories and tags.

Tag groups which are managed in the /tag-groups route allow you to create grouping of tags with special behaviors.

In our internal use we like to group runbook and knowledge-base as our docs group.

Once you create a grouping search will also be able to search the grouping.

The term:

reboot #docs

Will:

  1. Check if there is a docs category - if so, scope results to the docs category.

  2. Check if there is a docs tag - if so, scope results to the docs tag.

  3. Check if there is a docs tag group - if so, scope results to the docs tag group.

22 Likes