Just a guess - it looks like that you are trying to create a index with a name that is already existing.
Possible solutions are : - check if the index is already created - delete the file-based storage (this approach is used in the unit tests) - Use each time a new name What is the context of this "myapp" ? Cheers, jj 2015-06-09 13:23 GMT+02:00 Niclas Hedhman <nic...@hedhman.org>: > Paul (since you wrote this once upon a time), > > I get an exception every time the Elastic Search Extension is loaded, even > if I wipe the $HOME/Library/Application Support/myapp where it seems that > ES extension is using (oh, yeah I am using the file system store) > > Any ideas? Is it expected? > > > Caused by: org.elasticsearch.indices.IndexAlreadyExistsException: > [qi4j_index] already exists > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName(MetaDataCreateIndexService.java:164) > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:539) > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$100(MetaDataCreateIndexService.java:89) > at > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:229) > at > > org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:328) > at > > org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > ... 1 more > > Cheers > -- > Niclas Hedhman, Software Developer > http://zest.apache.org - New Energy for Java >