Skip to content

DOCSP-52259-edit-aggregation-page #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 2 additions & 30 deletions source/aggregation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,36 +204,8 @@ an aggregation pipeline that contains one of the following pipeline stages:

To learn more about Atlas Search pipeline stages, see :atlas:`Choose the
Aggregation Pipeline Stage </atlas-search/query-syntax/>` in the Atlas
documentation.

Create a Pipeline Search Stage
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can create the search criteria in your Atlas Search pipeline stage
by using Search operators.

.. sharedinclude:: dbx/jvm/atlas-search-operator-helpers.rst

.. replacement:: as-idx-link

the :ref:`kotlin-sync-atlas-search-index` guide

.. replacement:: atlas-query-operators-example

.. io-code-block::

.. input:: /includes/aggregation/aggregation.kt
:language: kotlin
:start-after: // start-atlas-searchoperator-helpers
:end-before: // end-atlas-searchoperator-helpers
:dedent:

.. output::
:language: console
:visible: false

Document{{_id=..., genres=[Comedy, Romance], title=Love at First Bite, year=1979}}
Document{{_id=..., genres=[Comedy, Drama], title=Love Affair, year=1994}}
documentation. To view examples of Atlas Search pipeline search stages using the
{+driver-short+}, see the :ref:`kotlin-sync-atlas-search` guide.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: to avoid "using":

Suggested change
documentation. To view examples of Atlas Search pipeline search stages using the
{+driver-short+}, see the :ref:`kotlin-sync-atlas-search` guide.
documentation. To view examples that use the {+driver-short+} to create Atlas Search pipeline search stages, see the :ref:`kotlin-sync-atlas-search` guide.


Additional Information
----------------------
Expand Down
Loading