Skip to content

Commit d1599ca

Browse files
authored
(DOCSP-43488): Updated content for Search and Vector Search view support. (#12343)
* (DOCSP-43488): Updated content for Search and Vector Search view support. * (DOCSP-43488): Incorporated Josh's feedback. * (DOCSP-43488): Incorporated Josh's feedback. * (DOCSP-43488): Incorporated Josh's feedback.
1 parent 3f7cb93 commit d1599ca

File tree

7 files changed

+25
-12
lines changed

7 files changed

+25
-12
lines changed

content/manual/upcoming/source/core/views.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ You can use views to:
5454
order history. Your application can query the view without managing or
5555
understanding the underlying pipeline.
5656

57+
- Create an {+fts+} index on a view, which
58+
:ref:`transforms documents and collections <fts-transform-documents-collections>`, so that you can
59+
partially index a collection, support incompatible data types or data
60+
models, and more.
61+
62+
- Create an {+avs+} index on a view, which
63+
:ref:`transforms documents and collections
64+
<avs-transform-documents-collections>`, so that you can
65+
partially index a collection, support incompatible data types or data
66+
models, and more.
67+
5768
Create and Manage Views
5869
-----------------------
5970

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Creates an |fts-index| on a specified collection.
1+
Creates an |fts-index| on a specified collection or view.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Creates one or more |fts-indexes| on a specified collection.
1+
Creates one or more |fts-indexes| on a specified collection or view.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Returns information about existing |fts-indexes| on a specified
2-
collection.
2+
collection or view.

content/manual/upcoming/source/includes/extracts-agg-stages.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ content: |
124124
125125
* - :pipeline:`$lookup`
126126
127-
- Performs a left outer join to another collection in the
128-
*same* database to filter in documents from the "joined"
129-
collection for processing.
127+
- Performs a left outer join to another collection or view in
128+
the *same* database to filter in documents from the "joined"
129+
collection or view for processing.
130130
131131
* - :pipeline:`$match`
132132
@@ -280,7 +280,7 @@ content: |
280280
* - :pipeline:`$unionWith`
281281
282282
- Performs a union of two collections; i.e. combines
283-
pipeline results from two collections into a single
283+
pipeline results from two collections or views into a single
284284
result set.
285285
286286
* - :pipeline:`$unset`

content/manual/upcoming/source/reference/method/js-collection.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ Collection Methods
3535

3636
* - :method:`db.collection.aggregate()`
3737

38-
- Provides access to the :ref:`aggregation pipeline <aggregation-pipeline>`.
38+
- Provides access to the :ref:`aggregation pipeline
39+
<aggregation-pipeline>`. You can also also use this method on a
40+
:manual:`view </core/views/>`.
3941

4042
* - :method:`db.collection.bulkWrite()`
4143

content/manual/upcoming/source/reference/privilege-actions.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -774,22 +774,22 @@ for deployments hosted on :atlas:`MongoDB Atlas </>`.
774774
.. authaction:: createSearchIndexes
775775

776776
User can run the :dbcommand:`createSearchIndexes` database command.
777-
Apply this action to the database or collection resource.
777+
Apply this action to the database, collection, or view resource.
778778

779779
.. authaction:: dropSearchIndex
780780

781781
User can run the :dbcommand:`dropSearchIndex` database command.
782-
Apply this action to the database or collection resource.
782+
Apply this action to the database, collection, or view resource.
783783

784784
.. authaction:: listSearchIndexes
785785

786786
User can run the :pipeline:`$listSearchIndexes` aggregation stage.
787-
Apply this action to the database or collection resource.
787+
Apply this action to the database, collection, or view resource.
788788

789789
.. authaction:: updateSearchIndex
790790

791791
User can run the :dbcommand:`updateSearchIndex` database command.
792-
Apply this action to the database or collection resource.
792+
Apply this action to the database, collection, or view resource.
793793

794794
Diagnostic Actions
795795
------------------

0 commit comments

Comments
 (0)