Referring to your previous problem, you can use IndexMany to index data. Now, according to your question in the comment, you can specify an identifier that elastic search will use. see the example below.
ElasticType(IdProperty = "<fieldName>")] public class ClassName {
if you do not want to specify any identifier for the elastic image search, create a dummyId dummy field (NULL value) and put it in "IdProperty". Elastic search automatically assigns a value to it if it is null.
Edit: Starting with version 2.3,
[ElasticsearchType(IdProperty = "<fieldName>")]
source share