private static class DocumentBatch.MultiDocumentBatch extends DocumentBatch
Modifier and Type | Field and Description |
---|---|
private Directory |
directory |
private LeafReader |
reader |
Constructor and Description |
---|
MultiDocumentBatch(Analyzer analyzer,
Document... docs) |
Modifier and Type | Method and Description |
---|---|
private LeafReader |
build(IndexWriter writer,
Document... docs) |
void |
close() |
LeafReader |
get() |
of, of
private final Directory directory
private final LeafReader reader
public LeafReader get()
private LeafReader build(IndexWriter writer, Document... docs) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException