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 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
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
24 changes: 24 additions & 0 deletions source/includes/extracts-atlas-search-facts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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: |

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.

[question]

Is using the word "premium" a requirement? If possible, I'd like to drop it to bring the marketing tone down a bit.

Copy link
Collaborator

Choose a reason for hiding this comment

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

[suggestion]

I'd suggest only having the linked text be "MongoDB Atlas Search", rather than including "premium full-text search solution" in the link. I think reducing the amount of blue text will make this a bit more readable.

Atlas Search </atlas-search/>`, for data hosted on :atlas:`MongoDB
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider flipping the order of these phrases so users know immediately whether this is relevant to them.

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

Atlas </>`. If you frequently run case-insensitive regex queries
(utilizing the ``i`` option), we recommend Atlas Search queries that
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should avoid "we" because it can be a little unclear who is implied by "we". As in, is it "we as writers", "we the MongoDB company" ?

Suggested change
(utilizing the ``i`` option), we recommend Atlas Search queries that
(utilizing the ``i`` option), consider using Atlas Search queries that

use the :pipeline:`$search` aggregation pipeline stage. :atlas:`Atlas
Search queries </reference/atlas-search/searching/>` significiantly
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't love starting the page with a dense block of copy. Maybe we should break this up a bit.

Suggested change
use the :pipeline:`$search` aggregation pipeline stage. :atlas:`Atlas
Search queries </reference/atlas-search/searching/>` significiantly
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
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider separating this out with bullets, one for Atlas-managed deployments and one for self-managed deployments.

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

- For self-managed deployments, you can...

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.

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

.. note::

.. 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