elasticsearch/elasticsearch — pull request #6845 by martijnvg (2014-07-13 23:19:31+00:00)
Title: Percolator: Reuse IndexFieldData instances between percolator queries

This is an improvement that came out of #6806.

Instead of each percolator query having its own IndexFieldData instance, it is better to reuse the same instance between percolator queries. For example in case when many percolator queries use the same `geo_distance` filter, this can improve percolator query indexing and percolating document execution speed.