uschindler commented on a change in pull request #203:
URL: https://github.com/apache/lucene/pull/203#discussion_r663493723



##########
File path: 
lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90CompoundReader.java
##########
@@ -130,7 +130,7 @@ public Lucene90CompoundReader(Directory directory, 
SegmentInfo si, IOContext con
 
   private Map<String, FileEntry> readMapping(IndexInput entriesStream) throws 
IOException {
     final int numEntries = entriesStream.readVInt();
-    Map<String, FileEntry> mapping = new HashMap<>(numEntries);
+    Map<String, FileEntry> mapping = new LinkedHashMap<>(numEntries);

Review comment:
       I reverted this change in my latest commit: the file size is now 
calculated based on end of last entry + footer size




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to