-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Has anybody found an intuitive way to enforce the dictionary order used when creating a document? (I know about OrderedDict in python 2.7 - but that seems overkill for the elasticsearch use case - and I don't know if it even works with this ES Python client).
for example, indexing a document using python as:
doc = { "a":"a", "b":"b", "c":"c" }
doc may actually get sorted by python in any random order, and looking inside ElasticSearch, you may get
{ "a":"a", "c":"c", "b":"b" }
Metadata
Metadata
Assignees
Labels
No labels