You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Taiki Sugawara (JIRA)" <ji...@apache.org> on 2014/09/14 19:51:34 UTC
[jira] [Created] (LUCENE-5947) Can't fix index using CheckIndex
when .si file is missing.
Taiki Sugawara created LUCENE-5947:
--------------------------------------
Summary: Can't fix index using CheckIndex when .si file is missing.
Key: LUCENE-5947
URL: https://issues.apache.org/jira/browse/LUCENE-5947
Project: Lucene - Core
Issue Type: Bug
Components: core/index
Affects Versions: 4.10
Reporter: Taiki Sugawara
Can't fix index using CheckIndex when .si file is missing.
Command line result is following:
{noformat}
% java -cp lucene-core-4.10.0.jar -ea:org.apache.lucene... org.apache.lucene.index.CheckIndex -fix /data/taiki/lucene4_broken
Opening index @ /data/taiki/lucene4_broken
ERROR: could not read any segments file in directory
java.io.EOFException: read past EOF: MMapIndexInput(path="/data/taiki/lucene4_broken/_9i.si")
at org.apache.lucene.store.ByteBufferIndexInput.readByte(ByteBufferIndexInput.java:81)
at org.apache.lucene.store.BufferedChecksumIndexInput.readByte(BufferedChecksumIndexInput.java:41)
at org.apache.lucene.store.DataInput.readInt(DataInput.java:98)
at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:134)
at org.apache.lucene.codecs.lucene46.Lucene46SegmentInfoReader.read(Lucene46SegmentInfoReader.java:53)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:362)
at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:458)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:913)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:759)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:454)
at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:414)
at org.apache.lucene.index.CheckIndex.main(CheckIndex.java:2096)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org