kibana/src/ui/public/elasticsearch_errors/index.js
Elastic Jasper cfde9f4750 Backport PR #8339
---------

**Commit 1:**
Set minimum aggregation 'Size' input value to 1, because ES will return an error if you provide a size of 0.

- Display feedback if a Dashboard or Visualization is loaded that already violates this constraint.
- Add ElasticsearchError class and isTermSizeZeroError helper.

* Original sha: 4fefae1513
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-09-19T19:02:54Z
2016-09-20 13:43:55 -04:00

7 lines
154 B
JavaScript

export {
default as ElasticsearchError,
} from './elasticsearch_error';
export {
default as isTermSizeZeroError,
} from './is_term_size_zero_error';