elasticsearch/elasticsearch — pull request #5850 by martijnvg (2014-04-17 10:22:48+00:00)
Title: Moved the updateMappingOnMaster logic into a single place.

Percolate, index and bulk now use the same logic.