[facet-search] Make sure that an object have an _id before indexing in ElasticSearch