Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14150

Allow specifying query predicates over document metadata

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: Querying, Text Search
    • Labels:
      None

      Description

      We can return and sort on the $meta textScore.
      It would be great to enable to filter on ranges of this value:

      db.col.find( {$text:{ $search: "keyword" , $meta.textScore :  {$gt: 0.5} } })

        Attachments

          Activity

            People

            Assignee:
            hari.khalsa@10gen.com hari.khalsa@10gen.com
            Reporter:
            norberto.leite Norberto Fernando Rocha Leite (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: