Allow deletion of types


(Rabx88) #1

I understand that deletion of a type is no longer allowed in 2.x. However, I have a scenario where it would be helpful. I have a dedicated index for percolators which contains mappings from the types which flow into daily indices. These types are not stored in the percolators index so there (presumably) is no way for them to leave corruption behind. If I change a type mapping and the percolator that corresponds to it I now have to delete the entire percolators index? This seems pretty undesirable. Why can't the corruption be avoided or why can't it simply allow the deletion if no documents are stored corresponding to the type being deleted? Either way this seems like a weird limitation and would appreciate some guidance.


(system) #2