let ES know the index and type