Skip to content

Commit a5e3fe2

Browse files
authored
(DOCSP-46385 ) Fix short titles in Atlas (#7248)
* (DOCSP-46385 ) Fix short titles in Atlas * Undo the change in one file per Sarah L * copy review * Added Operator to the compound titles, to be continued * Fix side TOC to have single words
1 parent 43e8c31 commit a5e3fe2

33 files changed

+101
-99
lines changed

source/atlas-search/accuracy.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ To build your query to return optimal results:
140140
:pipeline:`$searchMeta` if you want to only retrieve metadata. To
141141
learn more, see :ref:`query-syntax-ref`.
142142
- Choose an operator that is optimal for retrieving the relevant
143-
results. For example, consider :ref:`compound-ref` if you want to
143+
results. For example, consider the :ref:`compound operator <compound-ref>` if you want to
144144
combine multiple clauses such as ``must``, ``should``, ``mustnot`` in
145145
you query. To learn more, see :ref:`operators-ref`.
146146
- Apply more processes on your search results by using |fts|

source/atlas-search/aggregation-stages/search.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The ``$search`` stage takes a document with the following fields:
120120
- Name of the :ref:`operator <operators-ref>` to search with. You
121121
can provide a document that contains the operator-specific
122122
options as the value for this field. Either this or
123-
``<collector-name>`` is required. Use the :ref:`compound-ref`
123+
``<collector-name>`` is required. Use the :ref:`compound <compound-ref>`
124124
operator to run a compound query with multiple operators.
125125

126126
* - ``returnStoredSource``

source/atlas-search/autocomplete.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
.. _autocomplete-ref:
66

7-
============
8-
autocomplete
9-
============
7+
==========================
8+
``autocomplete`` Operator
9+
==========================
1010

1111
.. default-domain:: mongodb
1212

@@ -211,7 +211,7 @@ exact matches higher, try the following workaround:
211211
field is also indexed as a ``string``, thereby increasing the score
212212
of exact matches.
213213

214-
#. Query using the :ref:`compound-ref` operator.
214+
#. Query using the :ref:`compound operator <compound-ref>`.
215215

216216
For a demonstration of this workaround, see
217217
:ref:`autocomplete-compound`.

source/atlas-search/compound.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _compound-ref:
22

3-
========
4-
compound
5-
========
3+
=======================
4+
``compound`` Operator
5+
=======================
66

77
.. default-domain:: mongodb
88

@@ -157,7 +157,7 @@ You can use any of the clauses with any top-level operator, such as
157157
:ref:`span <span-ref>`, to specify query criteria.
158158

159159
To optimize performance, place non-scoring operators such as
160-
:ref:`equals-ref`, :ref:`range-ref`, and :ref:`in-ref` in the
160+
:ref:`equals-ref`, :ref:`range-ref`, and :ref:`in <in-ref>` in the
161161
:data:`filter` clause to avoid unnecessary scoring operations. If you
162162
want to run multiple operations that must be evaluated as an ``OR``
163163
condition, nest a :data:`should` clause within the top-level

source/atlas-search/customize-score.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Example Queries
6565
.. tabs-selector:: drivers
6666

6767
The sample queries demonstrate how to boost or bury the documents in the
68-
results. They use the :ref:`compound-ref` operator to combine two or more
68+
results. They use the :ref:`compound operator <compound-ref>` to combine two or more
6969
operators into a single query.
7070

7171
----------

source/atlas-search/define-field-mappings.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,14 @@ query the field value.
204204
- :ref:`boolean <boolean-ref>`
205205
- ✓
206206
- | :ref:`equals <equals-ref>`
207-
| :ref:`in-ref`
207+
| :ref:`in <in-ref>`
208208

209209
* - Date
210210
- :ref:`date <bson-data-types-date>`
211211
- ✓
212212
- | :ref:`equals <equals-ref>`
213213
| :ref:`facet <fts-facet-ref>`
214-
| :ref:`in-ref`
214+
| :ref:`in <in-ref>`
215215
| :ref:`near <near-ref>`
216216
| :ref:`range <range-ref>`
217217

@@ -224,7 +224,7 @@ query the field value.
224224
- :ref:`number <bson-data-types-number>`
225225
- ✓
226226
- | :ref:`equals <equals-ref>`
227-
| :ref:`in-ref`
227+
| :ref:`in <in-ref>`
228228
| :ref:`near <near-ref>`
229229
| :ref:`range <range-ref>`
230230

@@ -249,7 +249,7 @@ query the field value.
249249
- :ref:`number <bson-data-types-number>`
250250
- ✓
251251
- | :ref:`equals <equals-ref>`
252-
| :ref:`in-ref`
252+
| :ref:`in <in-ref>`
253253
| :ref:`facet <fts-facet-ref>`
254254
| :ref:`near <near-ref>`
255255
| :ref:`range <range-ref>`
@@ -264,7 +264,7 @@ query the field value.
264264
- ✓
265265
- | :ref:`equals <equals-ref>`
266266
| :ref:`facet <fts-facet-ref>`
267-
| :ref:`in-ref`
267+
| :ref:`in <in-ref>`
268268
| :ref:`near <near-ref>`
269269
| :ref:`range <range-ref>`
270270

@@ -293,7 +293,7 @@ query the field value.
293293
- :ref:`objectId <objectId-ref>`
294294
- ✓
295295
- | :ref:`equals <equals-ref>`
296-
| :ref:`in-ref`
296+
| :ref:`in <in-ref>`
297297
| :ref:`range <range-ref>`
298298

299299
* - String
@@ -328,7 +328,7 @@ query the field value.
328328
- :ref:`uuid <bson-data-types-uuid>`
329329
- ✓
330330
- | :ref:`equals <equals-ref>`
331-
| :ref:`in-ref`
331+
| :ref:`in <in-ref>`
332332

333333
:icon-fa5:`star` Some limitations apply. To learn more, see :ref:`fts-array-ref`.
334334

source/atlas-search/embedded-document.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ Query for Matching Embedded Documents Only
507507
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
508508

509509
The following query returns only the nested documents that match the
510-
query. The query uses |fts| :ref:`compound-ref` operator clauses in the
510+
query. The query uses |fts| :ref:`compound operator <compound-ref>` clauses in the
511511
:pipeline:`$search` stage to find matching documents and then the
512512
:manual:`aggregation operators </reference/operator/aggregation/>` in
513513
the :pipeline:`$project` stage to return only matching embedded documents.
@@ -518,8 +518,8 @@ Specifically, the query specifies the following pipeline stages:
518518
:stub-columns: 1
519519

520520
* - :pipeline:`$search`
521-
- Specifies the following criteria in the :ref:`compound-ref`
522-
operator ``must`` clause:
521+
- Specifies the following criteria in the :ref:`compound operator <compound-ref>`
522+
``must`` clause:
523523

524524
- Check if ``items.price`` field exists in the collection.
525525
- Search for the items tagged as ``school`` in the ``items.tags``

source/atlas-search/equals.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ null value in the ``job_title`` field.
527527
Compound Example Queries
528528
~~~~~~~~~~~~~~~~~~~~~~~~
529529

530-
The following example uses the :ref:`compound <compound-ref>` operator
530+
The following example uses the :ref:`compound operator <compound-ref>`
531531
in conjunction with ``must``, ``mustNot``, and ``equals`` to search for
532532
documents in which the ``region`` field is ``Southwest`` and the
533533
``verified_user`` field is not ``false``.

source/atlas-search/exists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Definition
2626
The ``exists`` operator tests if a path to a specified indexed field
2727
name exists in a document. If the specified field exists but is not
2828
indexed, the document is not included with the result set.
29-
``exists`` is often used as part of a :ref:`compound
30-
<compound-ref>` query in conjunction with other search clauses.
29+
``exists`` is often used as part of a :ref:`compound <compound-ref>`
30+
query in conjunction with other search clauses.
3131

3232
.. _exists-syntax:
3333

source/atlas-search/field-types/boolean-type.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ Learn More
144144
To learn more about the operators you can use to query the ``boolean`` type, see the following operator reference pages:
145145

146146
- :ref:`equals-ref`
147-
- :ref:`in-ref`
147+
- :ref:`in <in-ref>`

0 commit comments

Comments
 (0)