Knowledge Base Searching Tips and Tricks
- Samantha Menzynski
- Joseph Wall (Deactivated)
The Knowledge Base Utilizes the Lucene Search Engine
Search using keywords to limit results
Avoid searching full sentences, because Results could incorrectly exclude an existing Article. For example, "How to provide access to reports" vs "report access". The Knowledge Base search looks to match each word, therefore, the "How to..." search would not match an Article with "Adding/Removing Report Restrictions" in the Title.
Matched phrase search
Use double quotes to search for content that contains the phrase 'cheese one', or a phrase where 'cheese' and 'one' are the major words:
"cheese one"
Note:Â Confluence will ignore common words (stop words), including 'and', 'the', 'or', and more, even if they are included within double quotes.Â
For example:
- Searching for "cheese one" returns only pages in which 'one' appears as the first word after 'cheese'.
- Searching for "the one" returns all pages containing 'one' because 'the' is a stop word.
Wildcard searches
You can use one or more wildcard characters in your search. For example, you could search for http*.atlassian.*
 to find https://www.atlassian.com or http://www.atlassian.jp.
Leading wildcards
Lucene doesn't allow wildcards at the beginning of your search, but you can format your search as a regular expression as a workaround. For example, you can't search for *hum*
 or ?hum*
, as they begin with a wildcard, but you can search for /.*hum.*/ and find things like hum, human, and inhumane.
Wildcards can either replace a single character in your search, or multiple characters.
Single character
To replace a single character in your search, use a question mark (?) as a wildcard, For example, to search for 'butter', 'bitter', 'better', or 'batter'.Â
b?tter
Multiple characters
To replace multiple characters in your search, use an asterisk (*) as a wildcard. For example, to search for 'chicken' or 'chickpea':
chick*
Multiple wildcards
Use multiple wildcards in your search. The following query will search find 'chick', 'coconut', or 'chickpea':
c*c*
You can also combine wildcard characters in one search. For example, the search term below will return 'chick' but not 'chickpea':
c*c?
Note: Confluence doesn't support leading wildcards. This means searching for *heese
 will not return cheese.Â
Fuzzy search
Use a tilde (~) character to find words spelled similarly.
If you want to search for octagon, but you're not sure how it's been spelt, type the word followed by a tilde:
octogan~
OR search
To search for content that contains one of the terms, 'chalk' or 'cheese', use the operator OR in capital letters:
chalk OR cheese
AND search
To search for content that contains both the terms 'chalk' and 'cheese', use the operator AND in capital letters:
chalk AND cheese
NOT search
To search for content that contains 'chalk' but NOT 'cheese', use the operator NOT in capital letters:
chalk NOT cheese
Excluded term search
To search for content that contains 'chalk' and 'butter' but not 'cheese':
chalk butter -cheese
Group search terms
To search for content that must contain 'chalk' but can contain either 'cheese' or 'butter', use brackets to group the search terms:
(cheese OR butter) AND chalk