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
{{ message }}
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.
To implement nested documents, the current code fetches the whole document from Elasticsearch and then sends an update with a new document. This is highly inefficient, when es has the ability of updating a nested doc:
I believe this is already implemented. When working on #295 I added a ES_DEBUG env variable and there is no ES fetch being performed. The ES update feature is already being used.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To implement nested documents, the current code fetches the whole document from Elasticsearch and then sends an update with a new document. This is highly inefficient, when es has the ability of updating a nested doc:
https://github.com/18F/open-data-maker/blob/dev/lib/data_magic/index.rb#L79-L85
The text was updated successfully, but these errors were encountered: