Confluence 5.6 has reached end of life
Check out the [latest version] of the documentation
This page describes the special words and punctuation marks you can use to refine your 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. See the default list of stop words used by Confluence's search engine, Lucene, in the Lucene documentation.
For example:
If you would like to override Lucene's tokenisation and stemming, please cast your vote on this improvement request: CONF-14910.
To search for content that contains one of the terms, 'chalk' or 'cheese', use the operator OR in capital letters:
chalk OR cheese
To search for content that contains both the terms 'chalk' and 'cheese', use the operator AND in capital letters:
chalk AND cheese
To search for content that contains 'chalk' but NOT 'cheese', use the operator NOT in capital letters:
chalk NOT cheese
To search for content that contains 'chalk' and 'butter' but not 'cheese':
chalk butter -cheese
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
To search for content with 'chalk' in its title, where title is the field keyword.
title:chalk
To search for 'butter' or 'batter' you can use a question mark as a wildcard:
b?tter
To search for 'chicken' or 'chickpea' you can use an asterisk as a wildcard:
chick*
You can use wildcards anywhere within a word, even at the very beginning:
*chick
To search for 'chick' or 'chickpea':
c*c*
You can also combine search characters to get the exact word. For example the search term below will return 'chick' but not 'chickpea':
c*c?
Use a tilde character followed by a number, to find two words within a certain number of words of each other.
For example, the following search will return 'Octagon blog post':
"octagon post"~1
The following search is not valid:
"octagon post"~0
Use the operator 'TO', in capital letters, to search for names that fall alphabetically within a specified range:
[adam TO ben]
Note: You cannot use the AND keyword inside this statement.
Use a tilde character to find words spelled similarly.
To search for octagon, if unsure about spelling:
octogan~
You can also combine various search terms together:
o?tag* AND past~ AND ("blog" AND "post")
You can search Confluence content for anywhere a macro is used. To do this, just add macroName: to your search and append the macro name after the column. For example, search for all excerpt-include macros:
macroName:excerpt-include*
For more information about macroName and other search fields, see Confluence Search Fields.
labelText:' prefix to search specifically for content that has a specific label. The table below gives examples of search terms that you can enter into Confluence's search box, and the search results that you can expect.Searching for ... | Returns content that ... |
|---|---|
| contains the word ' |
| contains the word ' |
| has the label ' |
| has both labels ' |
The 'labelText:' prefix is an example of a search field. See more about Confluence Search Fields.