-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 0.7.7, 0.8.0, 0.8.1
-
Component/s: CLI Module, Embedded Shell
-
None
-
Not Needed
-
Iteration Yucca
The Search team recently released support for explain() as a beta for $search queries.
I gave it a quick try and noticed that we are not expanding some of the objects in the explain plan output (see screenshots).
We should fix that.
To test this, I created a search index on the sample_mflix.movies collection in our test cluster. Here are a couple of explain examples:
use('sample_mflix'); db.movies.explain("executionStats").aggregate([{ $search: { index: 'mflix-movies-fts', text: { query: 'Kill', path: 'title', fuzzy: {} } } }, { /** * specifications: The fields to * include or exclude. */ $project: { _id: 0, title: 1 } } ]); use('sample_mflix'); db.movies.explain("queryPlanner").aggregate([{ $search: { index: 'mflix-movies-fts', text: { query: 'Kill', path: 'title' } } }, { /** * specifications: The fields to * include or exclude. */ $project: { _id: 0, title: 1 } } ]);
- is related to
-
COMPASS-4757 Inspect output is truncated
- Open
- related to
-
MONGOSH-635 Create API for global shell settings
- Closed