Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene index corruption

chris chadwick
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 Champion
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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