Skip to content

Commit effae9a

Browse files
committed
DOCS-10587: mention index type restrictions on collations ref page
1 parent b9a67fb commit effae9a

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

source/includes/extracts-collation.yaml

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

source/reference/collation.txt

Lines changed: 18 additions & 0 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,11 +68,24 @@ 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

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
87+
88+
7189
.. toctree::
7290
:titlesonly:
7391
:hidden:

source/release-notes/3.4.txt

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

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

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

987992
Views

0 commit comments

Comments
 (0)