Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2872

Default behavior misrepresented for $text query

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • None
    • None
    • None

    Description

      At this url: http://docs.mongodb.org/master/reference/operator/query/text/#op._S_text

      in the "Returning the text search score" section, it implies that one must use the {score: {$meta: "textScore"}} flag in order to see the score. I find that the text score is currently displayed by default in 2.6.0-rc1.

      I'm not sure if the current behavior is the intended behavior and the docs have a mistake, or if the software has a bug, but I thought I'd kick it over to you guys to start the discussion with the server team about that.

      Attachments

        Activity

          People

            Unassigned Unassigned
            william.cross William Cross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 49 weeks, 5 days ago