Cursor.hint doc says a bad hint is a no-op

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The docs for Cursor.hint say "Hinting will not do anything if the corresponding index does not exist," but MongoDB has returned an error for bad hints since well before the earliest version we support. (See SERVER-12005 for evidence that bad hints cause an error since MongoDB 2.4 or earlier.)

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: