-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Assignees
@jasonnan1
Description
Version
0.2.0
App
- Cursor
- Windsurf
- VSCode
- VSCode Insiders
- Claude Desktop
- Other
Affected Models (if applicable)
- Claude 3.5 Sonnet
- Claude 3.7 Sonnet
- GPT-4a
- o4-mini
- Other
Bug Description
My prompt is as follows:Please query the data where the value in the Keyword field is 187.72.65.17.
Why is it that even though I have already used the create-index method to add a query index for Keyword, when I perform a database query using this prompt, it still performs a full collection scan and shows the following error message:
{"find": "Index check failed: The find operation on "mcp-test.products" performs a collection scan (COLLSCAN) instead of using an index. Consider adding an index for better performance. Use 'explain' tool for query plan analysis or 'collection-indexes' to view existing indexes. To disable this check, set MDB_MCP_INDEX_CHECK to false."}
Metadata
Metadata
Assignees
Labels
No labels