-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Closed
Labels
Description
Hi,
after upgrading to v1.3.0 the dashboard search is corrupted. We get a HTTP 500:
{"error":"SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[PWPjfOohQOaWTDxieMH8aA][grafana-dash][1]: SearchParseException[[grafana-dash][1]: query[title:*],from[-1],size[-1],sort[<custom:\"_uid\": org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource@221a9130>]: Parse Failure [Failed to parse source [{\"query\":{\"query_string\":{\"query\":\"title:*\"}},\"sort\":[\"_uid\"],\"facets\":{\"tags\":{\"terms\":{\"field\":\"tags\",\"order\":\"term\",\"size\":50}}},\"size\":50}]]]; nested: FacetPhaseExecutionException[Facet [tags]: failed to find mapping for [tags]]; }{[PWPjfOohQOaWTDxieMH8aA][grafana-dash][3]: SearchParseException[[grafana-dash][3]: query[title:*],from[-1],size[-1],sort[<custom:\"_uid\": org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource@6ba26691>]: Parse Failure [Failed to parse source [{\"query\":{\"query_string\":{\"query\":\"title:*\"}},\"sort\":[\"_uid\"],\"facets\":{\"tags\":{\"terms\":{\"field\":\"tags\",\"order\":\"term\",\"size\":50}}},\"size\":50}]]]; nested: FacetPhaseExecutionException[Facet [tags]: failed to find mapping for [tags]]; }]","status":500}
The POST-body from grafana lokks like this:
{"query":{"query_string":{"query":"title:*"}},"sort":["_uid"],"facets":{"tags":{"terms":{"field":"tags","order":"term","size":50}}},"size":50}
I'll try to find some time for looking into the changes from 1.2.0 to 1.3.0 ...