elasticsearch/elasticsearch — pull request #6413 by martijnvg (2014-06-05 15:00:53+00:00)
Title: Cardinality aggregation fails in case of empty doc values field

In case a doc values field doesn't have values all the time the cardinality aggregation can fail with a ArrayIndexOutOfBoundsException.