diff --git a/lucene/monitor/src/java/org/apache/lucene/monitor/DocumentBatch.java b/lucene/monitor/src/java/org/apache/lucene/monitor/DocumentBatch.java index 2bf0dc886b3..da3fc025dae 100644 --- a/lucene/monitor/src/java/org/apache/lucene/monitor/DocumentBatch.java +++ b/lucene/monitor/src/java/org/apache/lucene/monitor/DocumentBatch.java @@ -33,7 +33,8 @@ import org.apache.lucene.store.Directory; import org.apache.lucene.util.IOUtils; -abstract class DocumentBatch implements Closeable, Supplier { +/** Abstraction for a DocumentBatch containing a single or a set of documents. */ +public abstract class DocumentBatch implements Closeable, Supplier { /** * Create a DocumentBatch containing a single InputDocument