elasticsearch/elasticsearch — pull request #4181 by mattweber (2013-11-15 23:27:21+00:00)
Title: FieldDataTermsFilter

Add a terms filter that compares terms out of
the fielddata cache. When filtering on a large
set of terms this filter can be considerably faster
than using a standard lucene terms filter.

Add the "fielddata" execution mode to the
terms filter parser to enable the use of
the new FieldDataTermsFilter.

Add supporting tests and documentation.