elasticsearch/kibana — pull request #1660 by w33ble (2014-10-13 22:48:52+00:00)
Title: Exclude terms

Closes #1616 - precursor to #1527

Adds *exclude* and *include* params to the *terms* agg builder

- Add `regex` agg type
- Add `regular expression` editor
- Add `RegexAggParam` class
- Change how AggParam classes are loaded (based on type)
- Updated tests
- Added `label` filter with tests

The label filter was added so I could use the aggParam name as the field label - that filter may be useful elsewhere, and could probably use some extending.