.addProperty("hibernate.search.lucene_version", "LUCENE_CURRENT")
.addProperty("default.exclusive_index_use", "false")
.addProperty("default.indexmanager", "org.infinispan.query.indexmanager.InfinispanIndexManager");
if(transactionsEnabled()) {
builder.transaction().transactionMode(TransactionMode.TRANSACTIONAL);
}
EmbeddedCacheManager cacheManager = TestCacheManagerFactory.createCacheManager(builder);
cacheManagers.add(cacheManager);
Cache<String, Person> cache = cacheManager.getCache();
caches.add(cache);