-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.3.2
-
Component/s: Text Search
-
None
-
ALL
-
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.
- duplicates
-
SERVER-7101 Commands should error on missing/invalid parameters
- Open