[SERVER-8124] Insertions into text-indexed collections fail if score exceeds threshold Created: 09/Jan/13  Updated: 11/Jul/16  Resolved: 09/Jan/13

Status: Closed
Project: Core Server
Component/s: Text Search
Affects Version/s: None
Fix Version/s: 2.3.2

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 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]



 Comments   
Comment by auto [ 09/Jan/13 ]

Author:

{u'date': u'2013-01-09T21:57:50Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}

Message: SERVER-8124: in fts, error out when creating indexes if score is too high
Branch: master
https://github.com/mongodb/mongo/commit/3aff9a906f6f7b9681187813c71a17332fb6ede3

Generated at Thu Feb 08 03:16:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.