[SERVER-18552] Delimiters are indexed in text indexes Created: 18/May/15  Updated: 05/Feb/16  Resolved: 09/Jun/15

Status: Closed
Project: Core Server
Component/s: Text Search
Affects Version/s: 3.1.2
Fix Version/s: 3.1.5

Type: Bug Priority: Major - P3
Reporter: Kamran K. Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: 32qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 5 06/26/16
Participants:

 Description   

This bug only affects recent 3.1.x versions and not 3.0.

Master:

> db.fts.drop();
 
> db.fts.ensureIndex({a: 'text'});
// The index is created
 
> db.fts.insert({a: 'hello.world'});
WriteResult({ "nInserted" : 1 })
 
> db.fts.validate(true).keysPerIndex;
{ "test.fts.$_id_" : 1, "test.fts.$a_text" : 3 }

3.0.3:

> db.fts.drop();
 
> db.fts.ensureIndex({a: 'text'});
// The index is created
 
> db.fts.insert({a: 'hello.world'});
WriteResult({ "nInserted" : 1 })
 
> db.fts.validate(true).keysPerIndex;
{ "test.fts.$_id_" : 1, "test.fts.$a_text" : 2 }



 Comments   
Comment by Githook User [ 02/Jun/15 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-18552: Delimiters are indexed in text indexes
Branch: master
https://github.com/mongodb/mongo/commit/8bab38cfd8a58c6e5247f44cfe721fa70733e744

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