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

Insertions into text-indexed collections fail if score exceeds threshold

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.3.2
    • Text Search
    • None
    • ALL

    Description

      > db.bar.ensureIndex({a:"text"},{weights:{a:999999999}})
      > db.bar.insert({a:"word"})
      score <= MAX_WEIGHT
      > db.bar.find()
      >
       
      [Wed Jan  9 14:02:40.625 [conn1]  test.bar Assertion failure score <= MAX_WEIGHT src/mongo/db/fts/fts_spec.cpp 252]

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: