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

Insertions into text-indexed collections fail if score exceeds threshold

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2
    • Component/s: Text Search
    • Labels:
      None
    • Operating System:
      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

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

              Dates

              Created:
              Updated:
              Resolved: