Skip to content

Commit e6f9354

Browse files
authored
DOCSP-26256 replaces views-related doc directives (#2092)
1 parent 2b68884 commit e6f9354

20 files changed

+39
-40
lines changed

source/includes/extracts-4.4-changes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ content: |
229229
230230
Starting in MongoDB 4.4, you can specify a :operator:`$natural`
231231
sort when running a :dbcommand:`find` operation against a
232-
:doc:`view </core/views>`.
232+
:ref:`view <views-landing-page>`.
233233
---
234234
ref: 4.4-changes-drop-in-progress-indexes
235235
content: |

source/includes/extracts-projection.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ content: |
155155
- Using the array projection operators :projection:`$elemMatch`,
156156
:projection:`$slice`, specifies the array element(s) to include,
157157
thereby excluding those elements that do not meet the
158-
expressions. (Not available for :doc:`views </core/views>`.)
158+
expressions. (Not available for :ref:`views <views-landing-page>`.)
159159
160160
* - ``<field>: <$meta expression>``
161161
162162
- Using the :expression:`$meta` operator expression, specifies the
163163
inclusion of available :expression:`per-document metadata
164-
<$meta>`. (Not available for :doc:`views </core/views>`.)
164+
<$meta>`. (Not available for :ref:`views <views-landing-page>`.)
165165
166166
167167
* - ``<field>: <aggregation expression>``
@@ -232,7 +232,7 @@ content: |
232232
- Using the array projection operators :projection:`$elemMatch`,
233233
:projection:`$slice`, specifies the array element(s) to include,
234234
thereby excluding those elements that do not meet the
235-
expressions. (Not available for :doc:`views </core/views>`.)
235+
expressions. (Not available for :ref:`views <views-landing-page>`.)
236236
237237
* - ``<field>: <aggregation expression>``
238238

source/includes/extracts-views.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ content: |
44
---
55
ref: views-unsupported-text-search
66
content: |
7-
:doc:`Views </core/views>` do not support text search.
7+
:ref:`Views <views-landing-page>` do not support text search.
88
---
99
ref: views-unsupported-mapReduce
1010
content: |
11-
:doc:`Views </core/views>` do not support map-reduce operations.
11+
:ref:`Views <views-landing-page>` do not support map-reduce operations.
1212
---
1313
ref: views-unsupported-rename
1414
content: |
15-
You cannot rename :doc:`views </core/views>`.
15+
You cannot rename :ref:`views <views-landing-page>`.
1616
---
1717
ref: views-unsupported-geoNear
1818
content: |
19-
:doc:`Views </core/views>` do not support geoNear operations (i.e.
20-
:pipeline:`$geoNear` pipeline stage).
19+
:ref:`Views <views-landing-page>` do not support geoNear operations
20+
(specifically, the :pipeline:`$geoNear` pipeline stage).
2121
---
2222
ref: views-unsupported-projection-operators
2323
content: |
@@ -31,7 +31,7 @@ content: |
3131
---
3232
ref: _views-unsupported-projection
3333
content: |
34-
:method:`db.collection.find()` operations on :doc:`views </core/views>` do not support {{projection}} projection operator.
34+
:method:`db.collection.find()` operations on :ref:`views <views-landing-page>` do not support {{projection}} projection operator.
3535
---
3636
ref: views-unsupported-projection-$
3737
inherit:

source/reference/command/collMod.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Views
238238
.. collflag:: pipeline
239239

240240
The :ref:`aggregation pipeline <aggregation-pipeline>` that defines
241-
the :doc:`view </core/views>`.
241+
the :ref:`view <views-landing-page>`.
242242

243243
.. note::
244244

source/reference/command/create.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ Create a View
517517

518518
.. include:: /includes/extracts/views-restriction-output-to-disk.rst
519519

520-
To create a :doc:`view </core/views>` using the :dbcommand:`create`
520+
To create a :ref:`view <views-landing-page>` using the :dbcommand:`create`
521521
command, use the following syntax:
522522

523523
.. code-block:: javascript

source/reference/command/dbStats.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Output
117117

118118
.. data:: dbStats.views
119119

120-
Number of :doc:`views </core/views>` in the database.
120+
Number of :ref:`views <views-landing-page>` in the database.
121121

122122
.. data:: dbStats.objects
123123

source/reference/command/find.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The command accepts the following fields:
8686

8787
* - ``find``
8888
- string
89-
- The name of the collection or :doc:`view </core/views>` to query.
89+
- The name of the collection or :ref:`view <views-landing-page>` to query.
9090

9191
* - ``filter``
9292
- document

source/reference/command/listCollections.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Definition
1616
.. dbcommand:: listCollections
1717

1818
Retrieve information, i.e. the name and options, about the
19-
collections and :doc:`views </core/views>` in a database. Specifically, the command returns a
19+
collections and :ref:`views <views-landing-page>` in a database. Specifically, the command returns a
2020
document that contains information with which to create a
2121
cursor to the collection information. :binary:`~bin.mongosh`
2222
provides the :method:`db.getCollectionInfos()` and the

source/reference/log-messages.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ View
14841484
~~~~
14851485

14861486
Starting in MongoDB 5.0, :ref:`log messages for slow queries
1487-
<log-message-slow-ops>` on :doc:`views </core/views>` include a
1487+
<log-message-slow-ops>` on :ref:`views <views-landing-page>` include a
14881488
``resolvedViews`` field that contains the view details:
14891489

14901490
.. code-block:: javascript

source/reference/method/db.collection.aggregate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Definition
2020
.. include:: /includes/fact-mongosh-shell-method-alt.rst
2121

2222

23-
Calculates aggregate values for the data in a collection or a :doc:`view </core/views>`.
23+
Calculates aggregate values for the data in a collection or a :ref:`view <views-landing-page>`.
2424

2525
.. list-table::
2626
:header-rows: 1

0 commit comments

Comments
 (0)