apache / couchdb-fauxton

Fauxton is the new Web UI for CouchDB
https://github.com/apache/couchdb-fauxton
Apache License 2.0
373 stars 225 forks source link

Mango query explain page #1415

Closed mharrigan26 closed 7 months ago

mharrigan26 commented 8 months ago

Overview

This PR adds a parsed view of the Explain Page to accompany the addition of index_candidates to the /_explain endpoint in Couch 3.4. The current page is very bare bones and provides no guidance to users in terms of why a index was selected or not. The parsed page would indicate the selected index along with other possible candidates and why they were not selected. This is to help the user better understand and make more efficient queries.

Testing recommendations

Run a mango query on a database. Select Explain and check that there is now a parsed output and raw json output explaining the query.

GitHub issue number

Related Pull Requests

Checklist