How one can fill existing index in ES with multiple documents from JSON file using spring
/ spring-data-elasticsearch
?
EDIT
I am aware of ES BulkAPI and Spring's elasticsearchTemplate.bulkIndex(indexQueries);
method however that way I have to handle JSON parsing on my own (I want to avoid this way). But in case when we already know the index and mapping I wonder if there is something more straightforward that would require only passing the foo.json
file?