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

Allow specifying query predicates over document metadata

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.0
    • Component/s: Querying, Text Search
    • Labels:
      None

      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} } })
      

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

              Created:
              Updated:
              Resolved: