FTS: Misspelled parameter does not give an error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.3.2
    • Component/s: Text Search
    • None
    • ALL
    • Hide

      See above example.

      Show
      See above example.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Alvin Richards (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: