track multiple types per index and fix buggy print in es_get