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

Mango query improvements #81

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Conversation

Antonio-Maranhao
Copy link
Owner

@Antonio-Maranhao Antonio-Maranhao commented Jun 26, 2023

  • UX improvements for the Mango Query page
  • Overhaul of the Explain page that relies on extra info returned by /_explain regarding candidate indexes for the given query.

UPDATE (jul/2023): Some of the changes from this branch have already been incorporated to Fauxton. See apache#1403 and apache#1402.
The remaining ones are related to the new Explain page.

fryjordan and others added 27 commits April 18, 2023 16:26
Updated deps via 'npm update'.
Upgraded eslint-webpack-plugin v3 to v4 and webpack-cli v4 to v5.
Fix display of score and reason
Show covering tag
Show ddoc name
Adjust responsive design
 * show covered index tag for selected index
 * update descriptions of index mismatch reasons
 * add keys examined
 * color covering badge
 * add a warning to the full index scan and tweak the wording
 * add an explainer for less_overlap reason
When index scan direction is reversed, start_key and end_key are
reversed. This means that a full index scan can be detected by looking
for start_key="<MAX>", end_key=null|[].

This changes the detection code to use an order-independent comparison.
It concatenates start_key and end_key in an array, remove empty or
null elements, and test that what's left is a single element "<MAX>".
@willholley willholley force-pushed the mango-query-improvements branch 2 times, most recently from ac550ff to 98ba332 Compare July 3, 2023 14:01
 * Fix covering type ("true" vs true)
 * Add warning for $or in syntax highlighting
 * Change JSON index usage warning text
 * Add badge color for partitioned indexes
@willholley willholley force-pushed the mango-query-improvements branch from 98ba332 to 5a08365 Compare July 4, 2023 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants