final MockSirenDocument ... sdocs)
throws IOException {
final ArrayList<Document> docs = new ArrayList<Document>(sdocs.length);
for (final MockSirenDocument sdoc : sdocs) {
final Document doc = new Document();
doc.add(new Field(DEFAULT_TEST_FIELD, new MockSirenReader(sdoc), newFieldType()));
docs.add(doc);
}
writer.addDocuments(docs);
writer.commit();
}