Elasticsearch generates string ids like that: 0pNEdcMKTOeUfoAt95rDaA. But i agree hasId should be used here