Skip to content

DOCSP-19125 Direct Regex Search traffic to Atlas Search #6038

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 3 commits into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion source/core/link-text-indexes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Perform a Text Search (Legacy)
.. default-domain:: mongodb


.. include:: /includes/fact-text-search-legacy-atlas.rst
.. include:: /includes/extracts/fact-text-search-legacy-atlas.rst

.. include:: /includes/fact-text-index.rst

Expand Down
2 changes: 1 addition & 1 deletion source/core/text-search-operators.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Text Search Operators (Legacy)
:depth: 1
:class: singlecol

.. include:: /includes/fact-text-search-legacy-atlas.rst
.. include:: /includes/extracts/fact-text-search-legacy-atlas.rst

.. note::

Expand Down
27 changes: 27 additions & 0 deletions source/includes/extracts-atlas-search-facts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ref: fact-text-search-legacy-atlas
content: |

MongoDB offers a :atlas:`full-text search solution, MongoDB Atlas
Search </atlas-search/>`, for data hosted on :atlas:`MongoDB
Atlas </>`. A legacy text search capability is available for users
self-managing MongoDB deployments.

---
ref: fact-regex-search-legacy-atlas
content: |

**For data hosted on MongoDB Atlas**, MongoDB offers a
full-text search solution, :atlas:`MongoDB Atlas Search
</atlas-search/>`. If you frequently run case-insensitive regex
queries (utilizing the ``i`` option), MongoDB recommends Atlas Search
queries that use the :pipeline:`$search` aggregation pipeline stage.

:atlas:`Atlas Search queries </reference/atlas-search/searching/>`
significiantly improve the performance of text queries and offer more
options for customizing query parameters. To learn more, see
:atlas:`MongoDB Atlas Search </atlas-search/>`.

**For self-managed deployments**, you can find information on our
regex capability below.

...
4 changes: 0 additions & 4 deletions source/includes/fact-text-search-legacy-atlas.rst

This file was deleted.

2 changes: 2 additions & 0 deletions source/reference/operator/query/regex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ $regex
:description: pattern matching on strings in MongoDB |version|
:keywords: regex, regular expressions, LIKE queries, wildcard matches, pattern matches, MongoDB |version|, version |version|

.. include:: /includes/extracts/fact-regex-search-legacy-atlas.rst

Definition
----------

Expand Down
2 changes: 1 addition & 1 deletion source/reference/text-search-languages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Text Search Languages
:depth: 1
:class: singlecol

.. include:: /includes/fact-text-search-legacy-atlas.rst
.. include:: /includes/extracts/fact-text-search-legacy-atlas.rst

The :ref:`text index <index-feature-text>` and the :query:`$text`
operator may be used with the following languages, and accepts either the
Expand Down
2 changes: 1 addition & 1 deletion source/text-search.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Text Search
:depth: 1
:class: singlecol

.. include:: /includes/fact-text-search-legacy-atlas.rst
.. include:: /includes/extracts/fact-text-search-legacy-atlas.rst

MongoDB Atlas Search
--------------------
Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/text-search-in-aggregation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Text Search in the Aggregation Pipeline
:depth: 1
:class: singlecol

.. include:: /includes/fact-text-search-legacy-atlas.rst
.. include:: /includes/extracts/fact-text-search-legacy-atlas.rst

.. _text-agg-expression-behavior:

Expand Down