Skip to content

Commit 2440b36

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14323-weights-for-non-text-indexes
1 parent f9cff6f commit 2440b36

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

source/core/index-text.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ more information, see :ref:`text-index-compound`.
8989
In order to drop a ``text`` index, use the index name. See
9090
:ref:`drop-text-index` for more information.
9191

92+
.. _specify-weights:
93+
9294
Specify Weights
9395
~~~~~~~~~~~~~~~
9496

source/release-notes/5.0-compatibility.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@ General Changes
328328
currently logged in as an existing user will write a warning to the
329329
log once per authentication attempt.
330330

331+
- Starting in MongoDB 5.0, the
332+
:ref:`weights <specify-weights>` option is only allowed
333+
for ``$text`` indexes.
334+
331335
- .. include:: /includes/fact-set-global-write-concern-before-reconfig.rst
332336

333337
Deprecations

0 commit comments

Comments
 (0)