Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,192
Community Members
 
Community Events
168
Community Groups

Lucene index corruption

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 Sep 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)

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