Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize location field from Discover fails #3041

Closed
jimmyjones2 opened this issue Feb 14, 2015 · 0 comments · Fixed by #3061
Closed

Visualize location field from Discover fails #3041

jimmyjones2 opened this issue Feb 14, 2015 · 0 comments · Fixed by #3061
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience
Milestone

Comments

@jimmyjones2
Copy link
Contributor

In discover, if you click VIsualize on a location field, then visualize page gives an error (and seems to be doing a top 5 terms query, maybe it should do a map instead?)

Error: Request to Elasticsearch failed: {"error":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[fO9ftq7IT3uYQ0p29mOzCw][housesales][0]: AggregationExecutionException[terms aggregation cannot be applied to field [location]. It can only be applied to numeric or string fields.]}{[fO9ftq7IT3uYQ0p29mOzCw][housesales][1]: AggregationExecutionException[terms aggregation cannot be applied to field [location]. It can only be applied to numeric or string fields.]}{[fO9ftq7IT3uYQ0p29mOzCw][housesales][2]: AggregationExecutionException[terms aggregation cannot be applied to field [location]. It can only be applied to numeric or string fields.]}{[fO9ftq7IT3uYQ0p29mOzCw][housesales][3]: AggregationExecutionException[terms aggregation cannot be applied to field [location]. It can only be applied to numeric or string fields.]}{[fO9ftq7IT3uYQ0p29mOzCw][housesales][4]: AggregationExecutionException[terms aggregation cannot be applied to field [location]. It can only be applied to numeric or string fields.]}]"}
    at http://localhost:5601/index.js?_b=5827:42978:38
    at Function.Promise.try (http://localhost:5601/index.js?_b=5827:46159:26)
    at http://localhost:5601/index.js?_b=5827:46143:27
    at Array.map (native)
    at Function.Promise.map (http://localhost:5601/index.js?_b=5827:46142:30)
    at callResponseHandlers (http://localhost:5601/index.js?_b=5827:42950:22)
    at http://localhost:5601/index.js?_b=5827:43068:16
    at wrappedCallback (http://localhost:5601/index.js?_b=5827:20873:81)
    at wrappedCallback (http://localhost:5601/index.js?_b=5827:20873:81)
    at http://localhost:5601/index.js?_b=5827:20959:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants