lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uwe Schindler <...@thetaphi.de>
Subject Re: Help! - Max Segment name reached
Date Tue, 17 Apr 2018 20:01:48 GMT
Hi,

Create a new empty index in a new directory and use addIndex() using the other directory with
the broken index.

This will copy all segments but renumber them.

Uwe

Am April 17, 2018 3:52:27 PM UTC schrieb Stuart Goldberg <sgoldberg@fixflyer.com>:
>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.
>
> 

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message