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
OS: OS X Sequoia 15.01
Python version: Python 3.11.7
Package version: 0.47b.0
Elasticsearch: 6
What happened?
For specific queries with both field names 'name' and 'name.morph' ElasticsearchInstrumentor creates the wrong db statement and breaks the original query object.
Describe your environment
OS: OS X Sequoia 15.01
Python version: Python 3.11.7
Package version: 0.47b.0
Elasticsearch: 6
What happened?
For specific queries with both field names 'name' and 'name.morph'
ElasticsearchInstrumentor
creates the wrong db statement and breaks the original query object.Steps to Reproduce
Form a request like this:
Expected Result
Db statement (note
fields
key)Original body object:
Actual Result
Db statement (note
fields
key)The original body object becomes:
This body object is impossible to serialize so it breaks further on query serialization stage
Additional context
sanitize_body
function mutates the original body and this is not good by itself.Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: