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

0 votes
Answer accepted

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

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:


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:

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

259 views 2 10
Read article

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