indexer.skipIndexEntities();
indexer.postProcessEntities();
indexer.finaliseIndexing();
} else if ("finalise".equalsIgnoreCase(args[0])){
indexer.initialiseIndexing();
indexer.skipIndexEntities();
indexer.skipPostProcessEntities();
indexer.finaliseIndexing();
}
} else {
System.err.println("Unknown command "+args[0]+" (supported: init,index)\n\n");