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 all commits
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
36 changes: 4 additions & 32 deletions source/aggregation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,38 +202,10 @@ an aggregation pipeline that contains one of the following pipeline stages:
- ``$search``
- ``$searchMeta``

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}}
To learn more about Atlas Search pipeline stages, see :atlas:`Choose the Aggregation
Pipeline Stage </atlas-search/query-syntax/>` in the Atlas 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