elasticsearch/elasticsearch — pull request #5332 by martijnvg (2014-03-04 13:50:47+00:00)
Title: Add MemoryIndex reuse when percolating doc with nested type

Also make use of the thread local memory reuse for a document being percolated with nested objects.
The memory index will only be reused for the root doc, since most of the times that will be the biggest document.