I am using sql query in my old python client 7.x and it works like this
data = es.sql.query(body={"query": sql_query1, "fetch_size": 30000})
now using new client 8.x it give me this warning DeprecationWarning: The 'body' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
I can't figure out how to use this individual parameter. can't seems to find something related to that in document and don't see any example anywhere
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.