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

terms panel shows top terms based on *alphabetical* sorting of counts #301

Closed
pheaver opened this issue Jul 29, 2013 · 3 comments
Closed
Labels
notabug When the issue is closed this label Indicates that it wasn't a bug

Comments

@pheaver
Copy link

pheaver commented Jul 29, 2013

The counts in the terms panel are correctly sorted when they are displayed. However, when determining the top terms to display in the panel, the top N terms are chosen based on counts that are sorted alphabetically.

For example, if the counts of your top 10 terms are this:

120, 100, 90, 80, 70, 60, 50, 40, 20, 10

And if you create a terms panel with length 5, then you'll get these:

90, 80, 70, 60, 50

But if you create a terms panel with lenth 10, you'll get these:

120, 100, 90, 80, 70, 60, 50, 40, 20, 10

Discovered on 068e240

@pheaver pheaver closed this as completed Jul 29, 2013
@pheaver pheaver reopened this Jul 29, 2013
@pheaver
Copy link
Author

pheaver commented Jul 29, 2013

whoops, didn't mean to close and reopen like that :).

@rashidkpc
Copy link
Contributor

Hmm, yes, I am able to replicate this. Investigating. Test case: https://gist.github.com/rashidkpc/6110289

@rashidkpc
Copy link
Contributor

Scratch that, known issue with Elasticsearch elastic/elasticsearch#1305

Closing as not a kibana bug, see Elasticsearch issue.

harper-carroll pushed a commit to harper-carroll/kibana that referenced this issue Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notabug When the issue is closed this label Indicates that it wasn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants