Lucene index corruption

chris chadwick September 15, 2022

I am on V6.4.12 and getting error:

Lucene search terminated abnormally: com.atlassian.jira.issue.index.SearchUnavailableException: com.atlassian.jira.util.RuntimeIOException: org.apache.lucene.index.CorruptIndexException: document count mismatch: deleted docs count 0 vs segment doc count 242 segment=_zx8c

Is there anything I can do to fix.

We need to get this working prior to moving to the Cloud.

1 answer

1 accepted

0 votes
Answer accepted
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2022

Hi @chris chadwick 

Indexes can get broken or corrupted. Direct database updates are notorious for causing these issues.

Most can be fixed by re-indexing

Go to the indexing page and start a complete index re-build, not the background index. Jira  will be unaccessible for a short period depending on your instance size.

(Short cut - type 'gg' and then enter 'indexing' in the pop up menu search dialog)

chris chadwick September 16, 2022

Thanks with your help with this it is much appreciated.  The index re-build took much longer than expected but has resolved the issue.

Suggest an answer

Log in or Sign up to answer