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

Ability to sort by doc_count/value using Filters Aggregation #9146

Closed
Tracked by #179200
saudurehman opened this issue Nov 18, 2016 · 4 comments
Closed
Tracked by #179200

Ability to sort by doc_count/value using Filters Aggregation #9146

saudurehman opened this issue Nov 18, 2016 · 4 comments
Labels
Feature:elasticsearch Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@saudurehman
Copy link

Describe the feature:
Create "Vertical Bar chart" visualization with X-axis aggregations "Filters". The vertical bars are ordered by term. There should be a way to order them by doc_count as well.

@tbragin tbragin changed the title Ability to order by doc_count/value using Filters Aggregation Ability to sort by doc_count/value using Filters Aggregation Nov 20, 2016
@tbragin tbragin added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement labels Nov 20, 2016
@ycombinator
Copy link
Contributor

FWIW, its apparently not possible to ask Elasticsearch to order the buckets resulting from a filters aggregation (unlike, say, from a terms aggregation): https://www.elastic.co/guide/en/elasticsearch/guide/master/_intrinsic_sorts.html.

@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@kesemdavid
Copy link

Hey @sachinfrayne , @ycombinator
Any update on that issue?
Trying to achieve the exact same thing - order on filters aggregation by doc_count value DESC

@sachin-frayne
Copy link

sachin-frayne commented Mar 16, 2020

Hey @sachinfrayne , @ycombinator
Any update on that issue?
Trying to achieve the exact same thing - order on filters aggregation by doc_count value DESC

HI @kesemdavid, I am sorry I cannot help here.

@timductive
Copy link
Member

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@timductive timductive closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:elasticsearch Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

8 participants