-
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 significant terms support as ranking function in Top Values #158962
Conversation
8a0a4cc
to
4e418f2
Compare
@elasticmachine merge upstream |
Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally with Safari and it works great 👍
I would just suggest to add few unit tests for Significant
ranking criteria and checking that few options (add term, group rest as Other
, etc...) are disabled.
Very minor nitpick on the code review.
x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/index.tsx
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review
@dej611 have you also tested it or do you want me to also do a testing here? |
I did test it before locally. I've just approved now as I saw the new tiny refactoring landing |
…-ref HEAD~1..HEAD --fix'
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-only review, data/search
changes LGTM
elastic#158962) Part of elastic#154307 Closes elastic#116421 PR adds `Significance` selection to `Rank by` select. When selected, top values are fetched with [significant_terms aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html) <img width="600" alt="Screen Shot 2023-06-02 at 12 56 29 PM" src="https://github.com/elastic/kibana/assets/373691/b6a4f70a-4121-4c38-b6d5-7d46dc48ab1a"> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Part of #154307
Closes #116421
PR adds
Significance
selection toRank by
select. When selected, top values are fetched with significant_terms aggregation