-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode keys of dictionary partially fail #66
Comments
Hi Diolor, I cannot replicate your issue:
Could it maybe be caused by the misspelled date in your example? Honza |
Hi Honza, Can you replicate this?
The last line gives me :
The conflict is with the second
The mapping is correct:
Apparently I this is not python client's problem. ES searches for a Best, |
Yes, the _id field has to be a value, not another object. The correct way to handle this is to transform your document before handing it off to As this issue is not python related I am closing the ticket, please feel free to open a new one for any issue you find. Thanks |
Hi,
I found (in a very painful way:) ) that if there are unicode keys on a inner dictionary ES or the python library fails to add the object. e.g. for the following dictionary:
ES will process/add correctly city and name fields. However the inner
events.title
andevents.start_date
will not be added.This will be correctly processed:
As a workaround I tried the following which for some reason does not work. I guess the
'events'
is still somehow in the memory.Anyway it's 6am
Best,
D
The text was updated successfully, but these errors were encountered: