Commit Graph

15 Commits

Author SHA1 Message Date
David Storch
e7b0ba5c67 SERVER-23093 avoid extra predicate evaluation for indexed collation-aware queries 2016-08-15 15:19:41 -04:00
David Storch
2464cdaf2a SERVER-24621 make find command min/max respect the collation 2016-07-29 15:13:24 -07:00
Max Hirschhorn
541d4ee893 SERVER-24534 Add tests for cloning collections w/ non-simple collations.
Tests that the "cloneCollection", "cloneCollectionAsCapped",
"convertToCapped", and "copydb" commands inherit the default collation
of the corresponding collection.
2016-07-27 09:46:39 -04:00
David Storch
60379c1daa SERVER-25136 allow index types which do not support collation on a collection with a non-simple default collation
The application must use {locale: "simple"} to override the
default in this case.
2016-07-20 16:22:05 -04:00
Tess Avitabile
99d405ae81 SERVER-23924 Make _id index inherit the collection's default collation 2016-07-08 10:16:56 -04:00
Tess Avitabile
46ee3c59c9 SERVER-24182 Add collation-related information to explain output 2016-07-05 09:55:32 -04:00
David Storch
a7dc0fd86e SERVER-24405 enable collation.js in sharding passthrough suites 2016-06-22 21:04:42 -04:00
Tess Avitabile
e232de4507 SERVER-23690 Make applyOps command use the collection default collation 2016-06-22 13:14:24 -04:00
David Hatch
0f6df2c866 SERVER-24279 Properly add sort when index does not respect query collation. 2016-06-17 18:09:03 -04:00
David Storch
8ca23764d4 SERVER-23761 set NR feature bit for collation
This will ensure downgrade fails after creating collections or indices
with a non-simple collation.
2016-06-15 09:58:59 -04:00
J. Rassi
2bf2c9d2d5 SERVER-23611 Collection-default jstests for collation-aware ops 2016-06-13 17:58:29 -04:00
David Storch
72b444d283 SERVER-24183 persist collation version string in catalog metadata
Also add an fassert() which trips if the icu::Collator attached to a
collection or index has a version string which does not match the
version string persisted in the catalog. This will ensure that the
icu::Collator always matches the collator used when the index was
initially constructed.

The collation's version string is simply the ICU release number. All
collations should currently be version 57.1.
2016-06-10 18:43:23 -04:00
J. Rassi
3a22c60455 SERVER-23611 Add collation tests for non-existent collections 2016-06-06 16:50:55 -04:00
Tess Avitabile
248a31ad14 Fixed lint after rename collation_shell_helpers.js to collation.js 2016-06-06 10:51:35 -04:00
Tess Avitabile
3068880b67 Rename collation_shell_helpers.js to collation.js 2016-06-06 10:17:14 -04:00