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