[JAVA-2241] Support collation Created: 12/Jul/16  Updated: 19/Oct/16  Resolved: 12/Sep/16

Status: Closed
Project: Java Driver
Component/s: Query Operations
Affects Version/s: None
Fix Version/s: 3.4.0

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-291 Support providing collation per opera... Closed
Epic Link: MongoDB 3.4 for Java driver

 Description   

Operations supporting collation:

  • [x] Create collection
  • [x] Create Indexes
  • [x] aggregate
  • [x] count
  • [x] distinct
  • [x] find (command only)
  • [x] findAndModify
  • [x] geoNear
  • [x] group
  • [x] mapReduce
  • [x] remove (command only)
  • [x] update (command only)

Required

  • [x] DB / DBCollection
  • [x] MongoDatabase / MongoCollection
  • [x] MongoDatabase / MongoCollection - Async.


 Comments   
Comment by Githook User [ 12/Sep/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Unacknowledged Opcode based writes aren't supported

JAVA-2241
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/e2b4e268ead2f122baad3fad97cc434883062acc

Comment by Ross Lawley [ 09/Sep/16 ]

PR: https://github.com/rozza/mongo-java-driver/pull/160

Comment by Ross Lawley [ 06/Sep/16 ]

Ensure that unacknowledged writes (OP_DELETE/OP_UDPATE) with collation throw an error as they aren't supported.

Comment by Githook User [ 26/Aug/16 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2241: Fail the entire mixed bulk write operation if any of the write requests specify collation and the connection is to a server version that doesn't support collation
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/af524eafebd65706591f215d1e84e787895e9340

Comment by Githook User [ 26/Aug/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Collation updates

Fix broken test

JAVA-2241
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d8fb5020d47e522c167737a0b8cf7cc7b690dc13

Comment by Githook User [ 26/Aug/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Collation updates

Collation set on a per operation basis rather than globally in
the DB / DBCollection API.

JAVA-2241
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/12f7865e76bbdf2ba767063eac5f85009e3a5148

Comment by Githook User [ 23/Aug/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Collation updates

Collation set on a per operation basis rather than globally.

JAVA-2241
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/5ef2985d8da07b58d49b4c517b0e7276e7366ccc

Comment by Githook User [ 04/Aug/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Added Collation support to MongoDatabase and MongoCollection

JAVA-2241
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d9e72e6735f974c1b0d4502f10d1d9a7a2cf93d8

Comment by Githook User [ 02/Aug/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Added normalization boolean to Collation

JAVA-2241
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4cb738b38f5b8064507720d9b97ee53fb836423e

Comment by Githook User [ 01/Aug/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Adding Collation Support

Added support to Operations and in DBCollection.

JAVA-2241
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/71208e4093a0539b69582d65eeab8eab60528016

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