How to view the contents of the search index in Confluence Server and Data Center
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products will end after February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Confluence uses a search engine called Lucene. The search index is used by Confluence search, the dashboard, some macros, and many other places where we show information about content in your site.
If you need to see more details of the indexed pages in your Confluence site, you can use Luke to browse the index files. Luke is a development and diagnostic tool that can be used to access existing Lucene indexes and allows you to display and modify their content.
To use Luke to browse the Confluence search index:
- Download luke-4.5.0-jar-with-dependencies.jar from https://github.com/DmitryKey/luke/releases/tag/4.5.0.
You'll need to download this specific version. Later versions won't work with Confluence's index.
Double click the file, or use the following command to launch Luke:
java -jar luke-4.5.0-jar-with-dependencies.jar
- In Luke, select Open Lucene index
- In the path field, enter the path to the index directory <home-directory>/index. If you run Confluence in a cluster this will be in the local home directory.
- Select the Open in Read-Only mode checkbox
- Select OK.
You can then browse or search for specific items in the index. You can find information about the syntax to use in the Lucene documentation.
If you're having problems with your index, we don't recommend attempting to edit the index manually, unless directed by our support team. Instead, you may need to rebuild your index. See Content Index Administration.