Index: lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoReader.java =================================================================== --- lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoReader.java (revision 1527180) +++ lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoReader.java (working copy) @@ -17,8 +17,16 @@ * limitations under the License. */ +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_DIAG_KEY; +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_DIAG_VALUE; +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_DOCCOUNT; +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_FILE; +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_NUM_DIAG; +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_NUM_FILES; +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_USECOMPOUND; +import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.SI_VERSION; + import java.io.IOException; -import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; @@ -34,8 +42,6 @@ import org.apache.lucene.util.IOUtils; import org.apache.lucene.util.StringHelper; -import static org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoWriter.*; - /** * reads plaintext segments files *

@@ -80,22 +86,6 @@ } SimpleTextUtil.readLine(input, scratch); - assert StringHelper.startsWith(scratch, SI_NUM_ATTS); - int numAtts = Integer.parseInt(readString(SI_NUM_ATTS.length, scratch)); - Map attributes = new HashMap(); - - for (int i = 0; i < numAtts; i++) { - SimpleTextUtil.readLine(input, scratch); - assert StringHelper.startsWith(scratch, SI_ATT_KEY); - String key = readString(SI_ATT_KEY.length, scratch); - - SimpleTextUtil.readLine(input, scratch); - assert StringHelper.startsWith(scratch, SI_ATT_VALUE); - String value = readString(SI_ATT_VALUE.length, scratch); - attributes.put(key, value); - } - - SimpleTextUtil.readLine(input, scratch); assert StringHelper.startsWith(scratch, SI_NUM_FILES); int numFiles = Integer.parseInt(readString(SI_NUM_FILES.length, scratch)); Set files = new HashSet(); @@ -108,7 +98,7 @@ } SegmentInfo info = new SegmentInfo(directory, version, segmentName, docCount, - isCompoundFile, null, diagnostics, Collections.unmodifiableMap(attributes)); + isCompoundFile, null, diagnostics); info.setFiles(files); success = true; return info; Index: lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoWriter.java =================================================================== --- lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoWriter.java (revision 1527180) +++ lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoWriter.java (working copy) @@ -45,9 +45,6 @@ final static BytesRef SI_NUM_DIAG = new BytesRef(" diagnostics "); final static BytesRef SI_DIAG_KEY = new BytesRef(" key "); final static BytesRef SI_DIAG_VALUE = new BytesRef(" value "); - final static BytesRef SI_NUM_ATTS = new BytesRef(" attributes "); - final static BytesRef SI_ATT_KEY = new BytesRef(" key "); - final static BytesRef SI_ATT_VALUE = new BytesRef(" value "); final static BytesRef SI_NUM_FILES = new BytesRef(" files "); final static BytesRef SI_FILE = new BytesRef(" file "); @@ -93,24 +90,6 @@ } } - Map atts = si.attributes(); - int numAtts = atts == null ? 0 : atts.size(); - SimpleTextUtil.write(output, SI_NUM_ATTS); - SimpleTextUtil.write(output, Integer.toString(numAtts), scratch); - SimpleTextUtil.writeNewline(output); - - if (numAtts > 0) { - for (Map.Entry entry : atts.entrySet()) { - SimpleTextUtil.write(output, SI_ATT_KEY); - SimpleTextUtil.write(output, entry.getKey(), scratch); - SimpleTextUtil.writeNewline(output); - - SimpleTextUtil.write(output, SI_ATT_VALUE); - SimpleTextUtil.write(output, entry.getValue(), scratch); - SimpleTextUtil.writeNewline(output); - } - } - Set files = si.files(); int numFiles = files == null ? 0 : files.size(); SimpleTextUtil.write(output, SI_NUM_FILES); Index: lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40Codec.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40Codec.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40Codec.java (working copy) @@ -82,7 +82,7 @@ } @Override - public final SegmentInfoFormat segmentInfoFormat() { + public SegmentInfoFormat segmentInfoFormat() { return infosFormat; } Index: lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoFormat.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoFormat.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoFormat.java (working copy) @@ -67,10 +67,11 @@ * * @see SegmentInfos * @lucene.experimental + * @deprecated Only for reading old 4.0-4.5 segments */ +@Deprecated public class Lucene40SegmentInfoFormat extends SegmentInfoFormat { private final SegmentInfoReader reader = new Lucene40SegmentInfoReader(); - private final SegmentInfoWriter writer = new Lucene40SegmentInfoWriter(); /** Sole constructor. */ public Lucene40SegmentInfoFormat() { @@ -83,7 +84,7 @@ @Override public SegmentInfoWriter getSegmentInfoWriter() { - return writer; + throw new UnsupportedOperationException("this codec can only be used for reading"); } /** File extension used to store {@link SegmentInfo}. */ Index: lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoReader.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoReader.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoReader.java (working copy) @@ -18,7 +18,6 @@ */ import java.io.IOException; -import java.util.Collections; import java.util.Map; import java.util.Set; @@ -37,7 +36,9 @@ * * @see Lucene40SegmentInfoFormat * @lucene.experimental + * @deprecated Only for reading old 4.0-4.5 segments */ +@Deprecated public class Lucene40SegmentInfoReader extends SegmentInfoReader { /** Sole constructor. */ @@ -60,7 +61,7 @@ } final boolean isCompoundFile = input.readByte() == SegmentInfo.YES; final Map diagnostics = input.readStringStringMap(); - final Map attributes = input.readStringStringMap(); + input.readStringStringMap(); // read deprecated attributes final Set files = input.readStringSet(); if (input.getFilePointer() != input.length()) { @@ -67,8 +68,7 @@ throw new CorruptIndexException("did not read all bytes from file \"" + fileName + "\": read " + input.getFilePointer() + " vs size " + input.length() + " (resource: " + input + ")"); } - final SegmentInfo si = new SegmentInfo(dir, version, segment, docCount, isCompoundFile, - null, diagnostics, Collections.unmodifiableMap(attributes)); + final SegmentInfo si = new SegmentInfo(dir, version, segment, docCount, isCompoundFile, null, diagnostics); si.setFiles(files); success = true; Index: lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoWriter.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoWriter.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene40/Lucene40SegmentInfoWriter.java (working copy) @@ -1,74 +0,0 @@ -package org.apache.lucene.codecs.lucene40; - -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import java.io.IOException; - -import org.apache.lucene.codecs.CodecUtil; -import org.apache.lucene.codecs.SegmentInfoWriter; -import org.apache.lucene.index.FieldInfos; -import org.apache.lucene.index.IndexFileNames; -import org.apache.lucene.index.SegmentInfo; -import org.apache.lucene.store.Directory; -import org.apache.lucene.store.IOContext; -import org.apache.lucene.store.IndexOutput; -import org.apache.lucene.util.IOUtils; - -/** - * Lucene 4.0 implementation of {@link SegmentInfoWriter}. - * - * @see Lucene40SegmentInfoFormat - * @lucene.experimental - */ -public class Lucene40SegmentInfoWriter extends SegmentInfoWriter { - - /** Sole constructor. */ - public Lucene40SegmentInfoWriter() { - } - - /** Save a single segment's info. */ - @Override - public void write(Directory dir, SegmentInfo si, FieldInfos fis, IOContext ioContext) throws IOException { - final String fileName = IndexFileNames.segmentFileName(si.name, "", Lucene40SegmentInfoFormat.SI_EXTENSION); - si.addFile(fileName); - - final IndexOutput output = dir.createOutput(fileName, ioContext); - - boolean success = false; - try { - CodecUtil.writeHeader(output, Lucene40SegmentInfoFormat.CODEC_NAME, Lucene40SegmentInfoFormat.VERSION_CURRENT); - // Write the Lucene version that created this segment, since 3.1 - output.writeString(si.getVersion()); - output.writeInt(si.getDocCount()); - - output.writeByte((byte) (si.getUseCompoundFile() ? SegmentInfo.YES : SegmentInfo.NO)); - output.writeStringStringMap(si.getDiagnostics()); - output.writeStringStringMap(si.attributes()); - output.writeStringSet(si.files()); - - success = true; - } finally { - if (!success) { - IOUtils.closeWhileHandlingException(output); - si.dir.deleteFile(fileName); - } else { - output.close(); - } - } - } -} Index: lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene41/Lucene41Codec.java (working copy) @@ -101,7 +101,7 @@ } @Override - public final SegmentInfoFormat segmentInfoFormat() { + public SegmentInfoFormat segmentInfoFormat() { return infosFormat; } Index: lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42Codec.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42Codec.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene42/Lucene42Codec.java (working copy) @@ -100,7 +100,7 @@ } @Override - public final SegmentInfoFormat segmentInfoFormat() { + public SegmentInfoFormat segmentInfoFormat() { return infosFormat; } Index: lucene/core/src/java/org/apache/lucene/codecs/lucene45/Lucene45Codec.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene45/Lucene45Codec.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene45/Lucene45Codec.java (working copy) @@ -99,7 +99,7 @@ } @Override - public final SegmentInfoFormat segmentInfoFormat() { + public SegmentInfoFormat segmentInfoFormat() { return infosFormat; } Index: lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46Codec.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46Codec.java (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46Codec.java (working copy) @@ -28,7 +28,6 @@ import org.apache.lucene.codecs.StoredFieldsFormat; import org.apache.lucene.codecs.TermVectorsFormat; import org.apache.lucene.codecs.lucene40.Lucene40LiveDocsFormat; -import org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoFormat; import org.apache.lucene.codecs.lucene41.Lucene41StoredFieldsFormat; import org.apache.lucene.codecs.lucene42.Lucene42NormsFormat; import org.apache.lucene.codecs.lucene42.Lucene42TermVectorsFormat; @@ -52,7 +51,7 @@ private final StoredFieldsFormat fieldsFormat = new Lucene41StoredFieldsFormat(); private final TermVectorsFormat vectorsFormat = new Lucene42TermVectorsFormat(); private final FieldInfosFormat fieldInfosFormat = new Lucene46FieldInfosFormat(); - private final SegmentInfoFormat infosFormat = new Lucene40SegmentInfoFormat(); + private final SegmentInfoFormat segmentInfosFormat = new Lucene46SegmentInfoFormat(); private final LiveDocsFormat liveDocsFormat = new Lucene40LiveDocsFormat(); private final PostingsFormat postingsFormat = new PerFieldPostingsFormat() { @@ -96,7 +95,7 @@ @Override public final SegmentInfoFormat segmentInfoFormat() { - return infosFormat; + return segmentInfosFormat; } @Override Index: lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoFormat.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoFormat.java (revision 0) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoFormat.java (working copy) @@ -0,0 +1,93 @@ +package org.apache.lucene.codecs.lucene46; + +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import org.apache.lucene.codecs.CodecUtil; +import org.apache.lucene.codecs.SegmentInfoFormat; +import org.apache.lucene.codecs.SegmentInfoReader; +import org.apache.lucene.codecs.SegmentInfoWriter; +import org.apache.lucene.index.IndexWriter; // javadocs +import org.apache.lucene.index.SegmentInfo; // javadocs +import org.apache.lucene.index.SegmentInfos; // javadocs +import org.apache.lucene.store.DataOutput; // javadocs + +/** + * Lucene 4.6 Segment info format. + *

+ * Files: + *

+ *

+ * Data types: + *

+ *

+ *

+ * Field Descriptions: + *

+ *

+ *

+ * + * @see SegmentInfos + * @lucene.experimental + */ +public class Lucene46SegmentInfoFormat extends SegmentInfoFormat { + private final SegmentInfoReader reader = new Lucene46SegmentInfoReader(); + private final SegmentInfoWriter writer = new Lucene46SegmentInfoWriter(); + + /** Sole constructor. */ + public Lucene46SegmentInfoFormat() { + } + + @Override + public SegmentInfoReader getSegmentInfoReader() { + return reader; + } + + @Override + public SegmentInfoWriter getSegmentInfoWriter() { + return writer; + } + + /** File extension used to store {@link SegmentInfo}. */ + public final static String SI_EXTENSION = "si"; + static final String CODEC_NAME = "Lucene46SegmentInfo"; + static final int VERSION_START = 0; + static final int VERSION_CURRENT = VERSION_START; +} Property changes on: lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoFormat.java ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoReader.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoReader.java (revision 0) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoReader.java (working copy) @@ -0,0 +1,83 @@ +package org.apache.lucene.codecs.lucene46; + +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import java.io.IOException; +import java.util.Map; +import java.util.Set; + +import org.apache.lucene.codecs.CodecUtil; +import org.apache.lucene.codecs.SegmentInfoReader; +import org.apache.lucene.index.CorruptIndexException; +import org.apache.lucene.index.IndexFileNames; +import org.apache.lucene.index.SegmentInfo; +import org.apache.lucene.store.Directory; +import org.apache.lucene.store.IOContext; +import org.apache.lucene.store.IndexInput; +import org.apache.lucene.util.IOUtils; + +/** + * Lucene 4.6 implementation of {@link SegmentInfoReader}. + * + * @see Lucene46SegmentInfoFormat + * @lucene.experimental + */ +public class Lucene46SegmentInfoReader extends SegmentInfoReader { + + /** Sole constructor. */ + public Lucene46SegmentInfoReader() { + } + + @Override + public SegmentInfo read(Directory dir, String segment, IOContext context) throws IOException { + final String fileName = IndexFileNames.segmentFileName(segment, "", Lucene46SegmentInfoFormat.SI_EXTENSION); + final IndexInput input = dir.openInput(fileName, context); + boolean success = false; + try { + CodecUtil.checkHeader(input, Lucene46SegmentInfoFormat.CODEC_NAME, + Lucene46SegmentInfoFormat.VERSION_START, + Lucene46SegmentInfoFormat.VERSION_CURRENT); + final String version = input.readString(); + final int docCount = input.readInt(); + if (docCount < 0) { + throw new CorruptIndexException("invalid docCount: " + docCount + " (resource=" + input + ")"); + } + final boolean isCompoundFile = input.readByte() == SegmentInfo.YES; + final Map diagnostics = input.readStringStringMap(); + final Set files = input.readStringSet(); + + if (input.getFilePointer() != input.length()) { + throw new CorruptIndexException("did not read all bytes from file \"" + fileName + "\": read " + input.getFilePointer() + " vs size " + input.length() + " (resource: " + input + ")"); + } + + final SegmentInfo si = new SegmentInfo(dir, version, segment, docCount, isCompoundFile, null, diagnostics); + si.setFiles(files); + + success = true; + + return si; + + } finally { + if (!success) { + IOUtils.closeWhileHandlingException(input); + } else { + input.close(); + } + } + } +} Property changes on: lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoReader.java ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoWriter.java =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoWriter.java (revision 0) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoWriter.java (working copy) @@ -0,0 +1,73 @@ +package org.apache.lucene.codecs.lucene46; + +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import java.io.IOException; + +import org.apache.lucene.codecs.CodecUtil; +import org.apache.lucene.codecs.SegmentInfoWriter; +import org.apache.lucene.index.FieldInfos; +import org.apache.lucene.index.IndexFileNames; +import org.apache.lucene.index.SegmentInfo; +import org.apache.lucene.store.Directory; +import org.apache.lucene.store.IOContext; +import org.apache.lucene.store.IndexOutput; +import org.apache.lucene.util.IOUtils; + +/** + * Lucene 4.0 implementation of {@link SegmentInfoWriter}. + * + * @see Lucene46SegmentInfoFormat + * @lucene.experimental + */ +public class Lucene46SegmentInfoWriter extends SegmentInfoWriter { + + /** Sole constructor. */ + public Lucene46SegmentInfoWriter() { + } + + /** Save a single segment's info. */ + @Override + public void write(Directory dir, SegmentInfo si, FieldInfos fis, IOContext ioContext) throws IOException { + final String fileName = IndexFileNames.segmentFileName(si.name, "", Lucene46SegmentInfoFormat.SI_EXTENSION); + si.addFile(fileName); + + final IndexOutput output = dir.createOutput(fileName, ioContext); + + boolean success = false; + try { + CodecUtil.writeHeader(output, Lucene46SegmentInfoFormat.CODEC_NAME, Lucene46SegmentInfoFormat.VERSION_CURRENT); + // Write the Lucene version that created this segment, since 3.1 + output.writeString(si.getVersion()); + output.writeInt(si.getDocCount()); + + output.writeByte((byte) (si.getUseCompoundFile() ? SegmentInfo.YES : SegmentInfo.NO)); + output.writeStringStringMap(si.getDiagnostics()); + output.writeStringSet(si.files()); + + success = true; + } finally { + if (!success) { + IOUtils.closeWhileHandlingException(output); + si.dir.deleteFile(fileName); + } else { + output.close(); + } + } + } +} Property changes on: lucene/core/src/java/org/apache/lucene/codecs/lucene46/Lucene46SegmentInfoWriter.java ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: lucene/core/src/java/org/apache/lucene/codecs/lucene46/package.html =================================================================== --- lucene/core/src/java/org/apache/lucene/codecs/lucene46/package.html (revision 1527180) +++ lucene/core/src/java/org/apache/lucene/codecs/lucene46/package.html (working copy) @@ -138,7 +138,7 @@

Each segment index maintains the following: