You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current latest version of elastic search -dsl has numerous deprecation warnings with regards to passing of the body parameter and transport options to elasticsearch. I am willing to contribute to fix the current implementation to match elasticsearch library's recommendations if no one is on it at the time. A snippet of such warnings is found below:
DeprecationWarning: The 'body' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
es.search(index=self._index, body=self.to_dict(), **self._params).body,
DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
return self._get_connection(using).indices.delete(index=self._name, **kwargs)
I have read the contributing guidelines which state i first have to open an issue before contributing.