I try to make an index using the JAVA API like this
cl.admin().indices().prepareCreate("index")
.setSettings(settingsBuilder)
.addMapping("event", mappingBuilder)
.get();
but i get this exception Caused by: [index/fQUXl2xIT6CQcAuE4EMQGw] ResourceAlreadyExistsException[index [index/fQUXl2xIT6CQcAuE4EMQGw] already exists]
when i go after to kibana i see my index is there, and when i comment out the above lines there is no index in kibana