File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,13 @@ content: |-
168168 .. code-block:: javascript
169169
170170 db.myColl.find( { score: 5, category: "cafe" } )
171+
172+ .. important::
171173
174+ Matches against document keys, including embedded document keys,
175+ use simple binary comparison. This means that a query for a key
176+ like "foo.bár" will not match the key "foo.bar", regardless of the value you
177+ set for the :ref:`strength <collation-parameter-strength>` parameter.
172178
173179 ---
174180ref : collation-index
Original file line number Diff line number Diff line change @@ -61,13 +61,15 @@ parameters and the locales they are associated with, see
6161 To specify simple binary comparison, specify ``locale`` value of
6262 ``"simple"``.
6363
64-
64+
6565
6666 * - ``strength``
6767
6868 - integer
6969
70- - Optional. The level of comparison to perform.
70+ - .. _collation-parameter-strength:
71+
72+ Optional. The level of comparison to perform.
7173 Corresponds to `ICU Comparison Levels
7274 <http://userguide.icu-project.org/collation/concepts#TOC-Comparison-Levels>`_.
7375 Possible values are:
You can’t perform that action at this time.
0 commit comments