Skip to content

Commit fd2a05f

Browse files
committed
DOCS-10587: mention index type restrictions on collations ref page
1 parent 553f22c commit fd2a05f

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

source/includes/extracts-collation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ content: |-
230230
- | :method:`db.createCollection()`
231231
| :method:`db.createView()`
232232
233-
* - :dbcommand:`createIndexes`
234-
- :method:`db.collection.createIndex()`
233+
* - :dbcommand:`createIndexes` [#index-restriction]_
234+
- :method:`db.collection.createIndex()` [#index-restriction]_
235235
236236
* - :dbcommand:`aggregate`
237237
- :method:`db.collection.aggregate()`

source/reference/collation.txt

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ You can specify collation for the following operations:
4545

4646
.. include:: /includes/extracts/collation-operations-table.rst
4747

48+
.. [#index-restriction]
49+
50+
Some index types do not support collation. See
51+
:ref:`collation-unsupported-index-types` for details.
52+
4853
Behavior
4954
--------
5055

@@ -63,14 +68,25 @@ Collation and Views
6368

6469
.. include:: /includes/extracts/views-collation-behavior.rst
6570

71+
.. _collation-index-use:
72+
73+
6674
Collation and Index Use
6775
~~~~~~~~~~~~~~~~~~~~~~~
6876

6977
.. include:: /includes/extracts/collation-index-use.rst
7078

71-
.. class:: hidden
79+
.. _collation-unsupported-index-types:
80+
81+
Collation and Unsupported Index Types
82+
``````````````````````````````````````
83+
84+
.. include:: /includes/extracts/collation-index-type-restrictions.rst
85+
86+
.. include:: /includes/extracts/collation-index-type-restrictions-addendum.rst
7287

73-
.. toctree::
74-
:titlesonly:
88+
.. toctree::
89+
:titlesonly:
90+
:hidden:
7591

76-
/reference/collation-locales-defaults
92+
/reference/collation-locales-defaults

source/release-notes/3.4.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,11 @@ The following operations support collation:
981981

982982
For details, see :doc:`Collation </reference/collation>`.
983983

984+
.. [#index-restriction]
985+
986+
Some index types do not support collation. See
987+
:ref:`collation-unsupported-index-types` for details.
988+
984989
.. _3.4-relnotes-views:
985990

986991
Views

0 commit comments

Comments
 (0)