diff --git a/lucene/core/src/java/org/apache/lucene/store/CompoundFileDirectory.java b/lucene/core/src/java/org/apache/lucene/store/CompoundFileDirectory.java
index df89dde150b..6e22475eff5 100644
--- a/lucene/core/src/java/org/apache/lucene/store/CompoundFileDirectory.java
+++ b/lucene/core/src/java/org/apache/lucene/store/CompoundFileDirectory.java
@@ -61,6 +61,13 @@ import java.io.IOException;
*
FileName --> {@link DataOutput#writeString String}
* FileData --> raw file data
*
+ * Notes:
+ *
+ * - FileCount indicates how many files are contained in this compound file.
+ * The entry table that follows has that many entries.
+ *
- Each directory entry contains a long pointer to the start of this file's data
+ * section, the files length, and a String with that file's name.
+ *
*
* @lucene.experimental
*/
diff --git a/lucene/core/src/java/org/apache/lucene/store/CompoundFileWriter.java b/lucene/core/src/java/org/apache/lucene/store/CompoundFileWriter.java
index ae1244e14b2..7b04d658576 100644
--- a/lucene/core/src/java/org/apache/lucene/store/CompoundFileWriter.java
+++ b/lucene/core/src/java/org/apache/lucene/store/CompoundFileWriter.java
@@ -37,26 +37,7 @@ import org.apache.lucene.util.IOUtils;
/**
* Combines multiple files into a single compound file.
*
- * The file format data file:
- *
- * - VInt Version
- * - {File Data} fileCount entries with the raw data of the corresponding file
- *
- *
- * File format entry table:
- *
- * - int Version
- * - VInt fileCount - number of entries with the following structure:
- *
- * - String fileName
- * - long dataOffset
- * - long dataLength
- *
- *
The fileCount integer indicates how many files are contained in
- * this compound file. The entry table that follows has that many entries. Each
- * directory entry contains a long pointer to the start of this file's data
- * section, the files length, and a String with that file's name.
- *
+ * @see CompoundFileDirectory
* @lucene.internal
*/
final class CompoundFileWriter implements Closeable{