-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
Currently, when running `explain` on a vector search, all the vector embeddings are included.
These can be and often are extremely lengthy. E.g., the vector embeddings for mflix data look like this, where there are over 1000 elements. This makes the explain output extremely cumbersome to read.
When running explain on a basic $unionWith $vectorSearch (as part of SERVER-88046, so using the real mongot rather than a mock):
On a sharded cluster:
- The explain output on a is over 9000 lines long.
- The actual vector we're searching for has its embeddings included 6 separate times in the output (which is questionable in and of itself), and so the length of explain reduces to ~420 lines when you remove the embeddings.
On a single node:
- Explain output is ~4800 lines long.
- The vector embedding is included 3 times, length reduces to ~200 lines without the embeddings.
- is depended on by
-
COMPASS-8271 Investigate changes in SERVER-93576: Remove vector embeddings from $vectorSearch explain
- Closed
- related to
-
SERVER-94633 createSearchIndex() helper can be flaky when used with --repeat
- Closed