Confluence Search Fields

This page gives an overview of the Apache Lucene search fields used in Confluence.

Searching for content in specific fields

Confluence data is stored in fields which can be specified in the search. To search a specific field, type the name of the field followed by a colon ':' and then the term you are looking for.

Preliminary examples:

title:"Some Title"
labelText:chalk

The field specification applies only to the term directly preceding the colon. For example, the query below will look for "Some" in the title field and will search for "Heading" in the default fields.

title:Some Heading

Confluence search fields

Below are the fields which can be searched, listed by content type.

Personal Information

Name

Indexed

Stored

Tokenised

Notes

handle

true

true

false

 

type

true

true

false

 

urlPath

true

true

false

 

fullName

true

true

true

 

title

true

true

false

 

labelText

true

true

true

 

modified

true

true

false

 

created

true

true

false

 

contentBody

true

true

true

 

Pages

Name

Indexed

Stored

Tokenised

Notes

handle

true

true

false

 

type

true

true

false

 

urlPath

true

true

false

 

title

true

true

true

 

spacekey

true

true

false

 

labelText

true

true

true

 

modified

true

true

false

 

created

true

true

false

 

contentBody

true

true

true

 

macroName

true

true

false

The name of a macro used on the page

Blog

Name

Indexed

Stored

Tokenised

Notes

handle

true

true

false

 

type

true

true

false

 

urlPath

true

true

false

 

title

true

true

true

 

spacekey

true

true

false

 

labelText

true

true

true

 

modified

true

true

false

 

created

true

true

false

 

contentBody

true

true

true

 

macroName

true

true

false

The name of a macro used in the blog

Attachments

Name

Indexed

Stored

Tokenised

Notes

handle

true

true

false

 

type

true

true

false

 

urlPath

true

true

false

 

filename

true

true

true

 

title

true

true

false

 

comment

true

true

true

 

spacekey

true

true

false

 

modified

true

true

false

 

created

true

true

false

 

contentBody

true

true

true

 

Mail items

Name

Indexed

Stored

Tokenised

Notes

handle

true

true

false

 

type

true

true

false

 

urlPath

true

true

false

 

title

true

true

true

 

spacekey

true

true

false

 

messageid

true

true

false

 

inreplyto

true

true

false

 

recipients

true

true

true

 

labelText

true

true

true

 

modified

true

true

false

 

created

true

true

false

contentBody

true

true

true

 

More examples

Searching for labels

Use the ' 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 ...

recipe labelText:chocolate

contains the word 'recipe' or has the label 'chocolate'

recipe AND labelText:chocolate

contains the word 'recipe' and has the label 'chocolate'

labelText:cake OR labelText:chocolate

has the label 'cake' or the label 'chocolate'

labelText:cake AND labelText:chocolate

has both labels 'cake' and 'chocolate'

Useful plugins

Before installing an add-on (also called a plugin) into your Confluence site, please check the add-on's information page to see whether it is supported by Atlassian, by another vendor, or not at all. See our guidelines on add-on support.

This plugin extends the Confluence search, so that you can search for macro parameter names and values: the Confluence Macro Indexer plugin.

Notes

To find out the version of Lucene Confluence is using go to <installation directory>/confluence/WEB-INF/lib and locate the Lucene jar files. The Lucene version number will be part of the filename.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport