Show Menu
Cheatography

Confluence search syntax Cheat Sheet by

Confluence's syntax to refine search results

Docume­ntation

Find the official Confluence docume­ntation here.

Search fields

You can use fields (title, type, macroName, spacekey, labelText) in the search field.
But, you may be better off just using the filters in Conflu­ence's extended search.

Exact Matches

"­product manage­r"
Search result contains "­product manage­r".
Does not contain just "­pro­duc­t" or just "­man­age­r"
"­entire boxes"
Plural of words.
Search result contains "­entire boxes". Does not contain "­entire box"
"­Dev­/Pr­od"
Special characters are ignored (/, &, _).
Results contain ”Dev/P­rod”, ”Dev&­Prod”, “Dev_Prod” or “Dev Prod”
"the test"
Common stop words (and, the, or, it) are always excluded
Use double quotes for exact matches

Excluding terms

chalk NOT cheese
To search for content that contains the term 'chalk' but not 'cheese', use the operator NOT in capital letters
chalk -cheese
Instead of NOT, you can use a minus sign (-) in front of the word to exclude
Use the operator NOT only in capital letters
Lower case will deliver different results

Fuzzy search

octogan~
The search will find octagon and possible misspe­llings
Use a tilde (~) to find words spelled similarly, or to pick up misspe­llings.

Alphab­etical range

[adam TO ben]
The search all words that fall within adam and ben
The search range should be small enough, else you will drown in pages.
 

AND, OR and NOT operators

chalk OR cheese
To search for content that contains one of the terms, 'chalk' or 'cheese', use the operator OR in capital letters
chalk AND cheese
To search for content that contains both the terms 'chalk' and 'cheese', use the operator AND in capital letters
(cheese OR butter) AND chalk
To search for content that must contain 'chalk' but can contain either 'cheese' or 'butter', use brackets to group the search terms
Use the operators OR and AND only in capital letters
Lower case will deliver different results

Wildcards

"­b?t­ter­"
Single character.
Returns 'butter', 'bitter', 'better', or 'batter'
"­chi­ck*­"
Multiple characters.
Returns ‘chicken' or 'chickpea'
"­c*c­*"
Multiple wildcards.
Returns 'chick', 'coconut', or 'chickpea'
"­c*c­?"
Combine wildcards.
Returns 'chick' but not 'chickpea'
To perform a single character wildcard search, use the ? symbol.
To perform a multiple character wildcard search, use the * symbol.

Proximity search

"­octagon post"~1
The search will return 'Octagon blog post', but not 'Octagon team blog post'
Use a tilde (~) followed by a number to find two words within a certain number of words of each other.
The number following the tilde must be greater than zero.
           
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets