In order to provide fast searching, JIRA creates an index of the text entered into issue fields. This index is stored on the file system, and updated whenever issue text is added or modified. It is sometimes necessary to regenerate this index manually; for instance if issues have been manually entered into the database, or the index has been lost or corrupted.
Some functionality described on this page is restricted in JIRA OnDemand.
Indexing Administration
- Log in as a user with the 'JIRA Administrators' global permission.
- Select 'Administration' > 'System' > 'Advanced' > 'Indexing' (tab) to open the 'Re-Indexing' page.
Keyboard shortcut: 'g' + 'g' + type 'ind' - This page allows you to:
- re-index your data— whenever you re-index data, JIRA will clear any existing indexes and re-index all the current data from scratch. This may take a few minutes (depending on how many issues you have) and users will be unable to access JIRA during this time.
- optimise your indexes — click the 'Optimise Indexes' link to access this function.
- Note that JIRA schedules an optimisation of your indexes every night at midnight.
Screenshot: Indexing JIRA
reindexing.png
Choosing a custom Index Path:
- If you upgraded JIRA with an XML backup from a JIRA version prior to 4.2 and used a custom directory for your index path, you can choose between using this custom directory (which cannot be edited) or the default directory for your index path location. However, once you switch to using the default directory, you can no longer choose the custom directory option.
- The default directory location is the
caches/indexes
subdirectory of the JIRA Home Directory.