Searching and indexing
In Chapter 9, Searching, Reporting, and Analysis, you looked at how you can search for data in JIRA. In order to support large instances with thousands of issues, JIRA creates and maintains search indexes on the filesystem. This index is added and modified whenever issues are created or updates are made, automatically in the background. Sometimes, however, JIRA will require you to perform a manual reindexing. This may occur when the index files are corrupt or missing, or changes are made directly in the database causing the index to be out of sync. You will notice this when your searches are constantly returning with the wrong set of issues.
When you reindex, you effectively recreate the search index on the filesystem based on the most current data in the database. This ensures that the values in both are in sync. It is important to note that as the amount of data grows in your database, so will the search index, so you will need to allocate enough disk space to the...