If you have a file then I'd recommend using the REST Client instead and POST the file content to _bulk endpoint.
I don't think you can do that with the Java high level client (REST or Transport).
Might be wrong though but AFK ATM.
If you have a file then I'd recommend using the REST Client instead and POST the file content to _bulk endpoint.
I don't think you can do that with the Java high level client (REST or Transport).
Might be wrong though but AFK ATM.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.