-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Lens] add rare terms support #59430
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
minimum we could do is a transparent UI/UX:
downside - this might be a breaking change...but not sure if there's a real impact or not. The results will most likely be better. |
Chatted with @nik9000 and he recommends to offer rare terms separately from ascending count. We could add a new entry to the ranking dropdown - "Rare terms". |
I had to reread some things but I think I can summarize the difference between sorting terms with count ascending and rare terms:
There are other differences, but that's the gist of it. |
Good point @nik9000 - we would have to enforce the |
Its really a strange thing to try and integrate, I buy that. |
design ask on here: in addition to having the new mode we need to come up with a way to suggest chart configuration changes after we have more data (like field metadata or an imprecise result from elasticsearch) design ask part II: need to display a max bucket size as definition of "rare" |
heard this workflow today:
|
Discussed this offline and this is the plan: Expose it as a separate option for sorting. If selected, the user can specify both size and max doc count. There will be a fix-it action in the accuracy warning to turn a count ascending top values into a rare terms. |
edited @timroes' original description since this issue has evolved |
implemented via #121500 |
Include rare terms as a separate option. allow configuration of....
sizeinclude fix it warnings + actions for terms sorted on count ascending
include fix it warnings + actions for rare terms sorted on count descending
Original issue
We could include the Terms, Significant Terms and Rare Terms into one aggregation in Lens. The three aggregations are mainly different in the way the terms are "sorted", so from a user perspective this could rather be options to the same aggregation.
edit: due to some change concerns it was recommended by the es team to keep these options separated
The text was updated successfully, but these errors were encountered: