-
Notifications
You must be signed in to change notification settings - Fork 25
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
documents: optimize serialization #2309
documents: optimize serialization #2309
Conversation
d76761c
to
e3cdc2a
Compare
ac77547
to
885518f
Compare
885518f
to
f298200
Compare
f298200
to
07d3035
Compare
Co-Authored-by: Bertrand Zuchuat <[email protected]>
07d3035
to
325bab7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the commit message be more informative?
if fields: | ||
query = query.source(includes=fields) | ||
response = query.execute() | ||
if response.hits.total.value != 1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if they are two or more hits? Should the message be something like " 😱 "?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A pid value is unique. Either it exists or you have an exception?
Co-Authored-by: Bertrand Zuchuat [email protected]
How to test?
Code review check list