elasticsearch/elasticsearch — pull request #5028 by nik9000 (2014-02-05 21:07:29+00:00)
Title: Add multi-field support to common term query

Add support for matching multiple fields to the common term query. Like this:
{ "common": {
"body": {
"high_freq_operator": "and",
"fields": ["title", "body"],
"query": "nelly the elephant not as a cartoon",
}
} }
The extra fields come from the "fields" array and the name of the object
containing the query denotes the field from which the common-ness is
derived.

Closes #5024