twSearch.deleteAll(index2, twSearch.getIndexType());
List<JTweet> list = new ArrayList<JTweet>();
JUser user2 = new JUser("peter2");
for (int i = 0; i < 2; i++) {
list.add(new JTweet(i, "nice day", user2));
}
twSearch.bulkUpdate(list, index1, true);
assertEquals(2, twSearch.countAll(index1));
assertEquals(0, twSearch.countAll(index2));