Getting DocumentAlreadyExistsEngineException?


(Sam-4) #1

Hi

I am using Rabbitmq river for creating an index.i am using one index
idx_masterdatabase,having many index type.if any index type will exist i
will delete that index type and create new index with different data.for
deleting an index type i am using delete mapping <
http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-mapping.html>.used
java code gist as
https://gist.github.com/2576109 ,also i got the log message on server
console that is remove_mapping [type_test8*]*,but when i'm sending another
request to create index with same index type name i got the following
exception which i mention on following gist <https://gist.github.com/2576048

.

  • *please send me some solution for above exception.

Thanks


(system) #2