We have an index that has run into this bug: https://issues.apache.org/jira/browse/LUCENE-7999
Although this is reported to be fixed in Lucene 7.2, we are at 4.10.4 and cannot upgrade. By looking at the code it seems that the last segment number counter is persisted in segment_h. When creating a new segment, it names the segment based on the persisted counter. If this counter is larger than Integer.MAX_VALUE how can we recover this index. Is there anything we can do? Stuart M Goldberg Senior Vice President of Software Develpment FIX Flyer LLC <http://www.FIXFlyer.com/> http://www.FIXFlyer.com/ NOTICE TO RECIPIENT: THIS E- MAIL IS MEANT ONLY FOR THE INTENDED RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDENTIAL INFORMATION WHICH IS PROPRIETARY TO FIX FLYER LLC ANY UNAUTHORIZED USE, COPYING, DISTRIBUTION, OR DISSEMINATION IS STRICTLY PROHIBITED. ALL RIGHTS TO THIS INFORMATION IS RESERVED BY FIX FLYER LLC. IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE CONTACT THE SENDER BY REPLY EMAIL AND PLEASE DELETE THIS E-MAIL FROM YOUR SYSTEM AND DESTROY ANY COPIES.