protected void testIndexSink() throws Exception {
final Fields testFields = new Fields("id", "name", "price", "inStock");
String out = getTestDir() + "testIndexSink/out";
DirectoryTap solrSink = new DirectoryTap(new SolrScheme(testFields, SOLR_CORE_DIR), out, SinkMode.REPLACE);
TupleEntryCollector writer = solrSink.openForWrite(new LocalFlowProcess());
for (int i = 0; i < 100; i++) {
writer.add(new Tuple(i, "product #" + i, i * 1.0f, true));
}