Closed lbrug closed 7 years ago
Hey @lbrug, 411 doesn't currently support ES 5.0. We're running 2.x internally and it will be a while before we upgrade. If you're feeling adventurous, a PR would be greatly appreciated. See #84 for some additional info.
Sorry to read that :( Unfortunately I can't help you with development. I'll stay around anyway. Thanks a lot. Leo.
Looks like this might be related to the following changes:
https://www.elastic.co/guide/en/elasticsearch/reference/5.x/query-dsl-filtered-query.html https://www.elastic.co/guide/en/elasticsearch/reference/5.x/breaking_50_aggregations_changes.html#_literal_size_0_literal_on_terms_significant_terms_and_geohash_grid_aggregations
Code: https://github.com/etsy/411/blob/master/phplib/ESClient.php#L361
There's now (experimental) ES5.0 support. See #106 for details.
I've upgraded ES from 2.4.0 to 5.1.1 and 411 started to throw this error when it loads the dashboard
Error getting active count data
Also, in the Alerts tab:
Error executing query
I upgraded then 411 from 1.0.1 to 1.1.0 but the errors still remains.
Apache error log says:
I followed the upgrade steps with no problems. Also I tried deleting old indices in ES and replacing the 411 SQLite DB from a new empty one, with no success.
Any hint? Thanks in advance. Leo