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

Insertions into text-indexed collections fail if score exceeds threshold

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.2
    • Affects Version/s: None
    • Component/s: Text Search
    • None
    • ALL

      > 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]
      

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

              Created:
              Updated:
              Resolved: