int listenerCountBeforeDeploys = _protocol.getRegisteredListenerCount();
deployClient.addIndex("newIndex1", INDEX_FILE.getAbsolutePath(), 1).joinDeployment();
deployClient.addIndex("newIndex2", INDEX_FILE.getAbsolutePath(), 1).joinDeployment();
deployClient.addIndex("newIndex3", INDEX_FILE.getAbsolutePath(), 1).joinDeployment();
final Query query = new QueryParser(Version.LUCENE_30, "", new KeywordAnalyzer()).parse("content: the");
client.search(query, new String[] { "newIndex1" }, 10);
deployClient.removeIndex("newIndex1");
deployClient.removeIndex("newIndex2");
deployClient.removeIndex("newIndex3");
Thread.sleep(2000);