Hi
From the link https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-search-template.html
it uses data-binary option of curl.Is is possible to this command without that option and instead pass the query directly over curl?
Thanks
Hi
From the link https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-search-template.html
it uses data-binary option of curl.Is is possible to this command without that option and instead pass the query directly over curl?
Thanks
Without having it tried out, I would think so. Typing many distinct requests to the command-line sounds rather clumsy and error prone to me though.
The only thing that --data-binary does is to leave the newlines in the file referenced as they are instead of stripping them out.
Hope this helps,
Isabel
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.