diff --git a/src/java/org/apache/lucene/index/IndexFileNames.java b/src/java/org/apache/lucene/index/IndexFileNames.java index 4c7cdbac165..6e01228c598 100644 --- a/src/java/org/apache/lucene/index/IndexFileNames.java +++ b/src/java/org/apache/lucene/index/IndexFileNames.java @@ -189,6 +189,8 @@ final class IndexFileNames { * STORE_INDEX_EXTENSIONS). */ static final boolean isDocStoreFile(String fileName) { + if (fileName.endsWith(COMPOUND_FILE_STORE_EXTENSION)) + return true; for(int i=0;i