Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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:`premium full-text search solution, MongoDB
Copy link
Collaborator

Choose a reason for hiding this comment

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

[minor] Can we drop "premium" here as well?

Atlas Search </atlas-search/>`, for data hosted on :atlas:`MongoDB
Atlas </>`. A legacy text search capability is available for users
self-managing MongoDB deployments.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we consider a similar parallelized bulleted approach here?

- For data hosed on MongoDB Atlas, MongoDB offers...

- For self-managed deployments,  MongoDB offers legacy text search capability.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't want to start the page with bullet points. So, created separate paragraphs. Hope this looks ok.

Copy link
Collaborator

Choose a reason for hiding this comment

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

That makes sense!


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

**For data hosted on** :atlas:`MongoDB Atlas </>`, MongoDB offers a
Copy link
Collaborator

Choose a reason for hiding this comment

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

[suggestion]

This was a little visually jarring when I first loaded the page. I think we'd be better off dropping the link to the Atlas docs and bolding the entire "For data hosted on MongoDB Atlas".

Suggested change
**For data hosted on** :atlas:`MongoDB Atlas </>`, MongoDB offers a
**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