Get only mapping / type names, not complete mapping definitions


is there any way I could just get a list of the currently known mapping /
type names (not the complete mapping definitions) for an index?

I know I can use the get mapping API for this (get all mappings for an
index, just extract / look at their names), but I have indices with quite a
lot of mappings (one type per user "pattern") and for performance / memory
reasons it would be nice to be able to just get the currently mapped type
names in situations where I need just that.


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit