I am using ElasticSearch 5.6.10 and TransportClient for JAVA. I want to migrate it to ES 6.3.
To add any child documents, I am using the below code:
bulkProcessor.add((new IndexRequest(indexName, typeName)).source(data,XContentType.JSON).
But this is possible when we have multiple mappings. And in ES 6.3, we are having single mapping type.
So can you help me with modifying in above code so as to add documents in ES 6.3.