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

Searches on partitioned text indexes return no results if "language" is specified

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.2, 2.5.0
    • Affects Version/s: 2.4.0-rc3
    • Component/s: Text Search
    • Labels:
      None
    • ALL

      db.foo.ensureIndex({partition:1,content:"text"})
      db.foo.insert({partition:"a",content:"hello world"})
      
      // returns 1 result
      db.foo.runCommand("text",{search:"world",filter:{partition:"a"}})
      
      // returns no results
      db.foo.runCommand("text",{search:"world",filter:{partition:"a"},language:"english"})
      

            Assignee:
            rassi J Rassi
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: