[SERVER-8294] FTS: Misspelled parameter does not give an error Created: 23/Jan/13  Updated: 15/Feb/13  Resolved: 23/Jan/13

Status: Closed
Project: Core Server
Component/s: Text Search
Affects Version/s: 2.3.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Alvin Richards (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-7101 Commands should error on missing/inva... Open
Operating System: ALL
Steps To Reproduce:

See above example.

Participants:

 Description   

Problem:
The following statement execute and does not give an error, despite "projection" being mis-spelled

> db.InformationAsset.runCommand( "text", { search: "Titanic", projetion: {_id:0 } } )

Workaround:
None - but you see that the results are not constrained by the projection.

Solution:
Throw an error if the parameters and not understood.


Generated at Thu Feb 08 03:17:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.