indexer.close();
}
@Test
public void shouldReIndexAllContentInWorkspaceBelowPath() throws Exception {
SearchEngineIndexer indexer = new SearchEngineIndexer(context, engine, connectionFactory);
for (int i = 0; i != 0; i++) {
indexer.index(workspaceName1, path("/Cars/Hybrid"), 3);
indexer.index(workspaceName2, path("/Aircraft/Commercial"), 5);
}
indexer.close();
}