Mappings definitions are not deleting even after related Indices deletion


(arien) #1

Hi;

I am facing a problem concerning to complete deletion of mapping and
mapping definitions.
When i delete any index,data in its related mappings are getting
deleted,
but if I try to reinsert an index and its associated mappings with
same names before deletion but this time with "different" mapping
definitions than earlier, it is giving me an error saying it differs
from Original mapping.

if i do it other way around say first i delete mappings and then
index,Still error is persistent in the next time inserting with
similar names.Please clarify why is it happening so or are there any
instances of mapping definitions still left even after its deletion.
thanks and regards;
Ajay


(Shay Banon) #2

When you delete an index, the mapping associated with that index get
deleted as well. Maybe you have index templates defined, or mapping in the
config directory that get applied whenever an index gets created?

On Fri, Dec 2, 2011 at 10:52 AM, arien ajaypadvi@gmail.com wrote:

Hi;

I am facing a problem concerning to complete deletion of mapping and
mapping definitions.
When i delete any index,data in its related mappings are getting
deleted,
but if I try to reinsert an index and its associated mappings with
same names before deletion but this time with "different" mapping
definitions than earlier, it is giving me an error saying it differs
from Original mapping.

if i do it other way around say first i delete mappings and then
index,Still error is persistent in the next time inserting with
similar names.Please clarify why is it happening so or are there any
instances of mapping definitions still left even after its deletion.
thanks and regards;
Ajay


(system) #3