3 ms·
Regarding updates, you can use the Update API for partial updates, and include a script to do things like "counter += 1" or "add value to existing array". Inte
by polyfractal 13y ago
Regarding updates, you can use the Update API for partial updates, and include a script to do things like "counter += 1" or "add value to existing array".
Internally it is still reindexing the entire document, but from your application's perspective, the Update API is a lot friendlier.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html http://www.elasticsearch.org/guide/en/elasticsearch/referenc...
- alisson 13y agoThanks for pointing that out, it will be really useful!