-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't update the index if it hasn't changed
If the document doesn't change then don't push a new copy of it into the index. Elasticsearch doesn't do this by default and updates are very expensive. This should prevent any that aren't really required. I have an instinct that says this is a pretty significant fraction of updates at WMF. Instinct only, though. We graph it in ganglia so we can be sure if it is worth it. Requires ruflin/Elastica#629 or we'll lose retry on conflict support. Change-Id: I533e08ac15d5e48d1de8b36e3b86a419f339be38
- Loading branch information
Nik Everett
committed
Jun 17, 2014
1 parent
2f69736
commit 1c76661
Showing
1 changed file
with
48 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters