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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.0-rc3
    • Fix Version/s: 2.4.2, 2.5.0
    • Component/s: Text Search
    • Labels:
      None
    • Operating System:
      ALL

      Description

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: