I have sharded cluster in my localhost, running successfully. I could get the explain() in the mongo shell, but I could’nt get it on the Compass GUI. It’s strange.
Here is the screenshot of the compass explain
In this query of explain plan, I have indexed on stars.
Here is the index