Query with hierarchy in tags

Hi there, I’m trying to use hierarchy in page tags, e.g. tags:: foo/bar/bat. While things seem a little weird when it comes to query.

Now it works kind of in the opposite way of what I have in mind. Say I have a page with a tag project/english, which will come up when I query with project/english/words, but not with project.

I don’t understand why it works like this. When I search for a more specific tag like project/english/words, I don’t want any pages with shorter tags such as project or project/english. And if I do a general query with project I just hope the results will cover all the pages that have tags like project/* or project/*/*.

Wish this question makes sense and someone could explain the logic for me, thank you.

1 Like