Filtering Confluence Content

Is there a way to filter documentation based on labels? For example, like shopping for shoes, users can filter a large list of search results by size, color, shoe type, etc., and reduce the list of results with each option. "I want to see all shoes that are red in size 9 with a high heel."

Is there a way to do the same in doc so we can filter a list of search results by user role, by software feature, content type? For example, "I want to see all wiki pages labeled Developer Documention for the Backup feature, of content type Troubleshooting."

It looks like there is only one filter that can be selected, not a series of filters. Do you have any suggestions?

1 answer

1 accepted

You can use boolean AND to match only pages that share one or more labels:

https://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax

According to that page, something like this will work:

labelText:backup AND labelText:dev_docs

As for "content type", you mention "Troubleshooting". If that's the name of the space, then you can search by space like this:

spacekey:troubleshooting

So, to put it all together, this might work:

spacekey:troubleshooting AND labelText:backup AND labelText:dev_docs

But I suspect you're looking for something a bit more robust and customizable.

Yes, something that wiki users could pick and choose to help them find the right information. Ideally, I want users to be able to customize the content they see, based on the labels that filter the search results.

We're designing a labeling strategy. We have audience (Developer, Partner, Customer), feature (various), content type (administration, implementation, development, troubleshooting).

Would love your suggestions on aiding search.

Well, we ultimately abandoned the Lucene-based search in Confluence and paid for GSS (Google Site Search) for our sites. You can check it out here:

http://devcenter.verivo.com

The GSS search box is in the upper right; the search results pages look pretty good.

GSS uses Google search results, so the content you index with it must be public. But with GSS, you can use customize refinements, auto-complete, synonyms, restrictions, sorting, and other features. You can also use GSS for "federated" search, meaning you can search across multiple sites and content types (Confluence, JavaDoc, HTML, etc).

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

679 views 21 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you