Skip to content

Commit c3b319d

Browse files
committed
DOCSP-48557 wording
1 parent c5ee8a3 commit c3b319d

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

source/batch-mode/batch-write-config.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can configure the following properties when writing data to MongoDB in batch
5858
| **Default:** ``com.mongodb.spark.sql.connector.connection.DefaultMongoClientFactory``
5959

6060
* - ``convertJson``
61-
- | Specifies whether the connector parses the string and converts extended JSON
61+
- | Specifies if the connector parses string values and converts extended JSON
6262
into BSON.
6363
|
6464
| This setting accepts the following values:
@@ -85,7 +85,7 @@ You can configure the following properties when writing data to MongoDB in batch
8585
| **Default:** ``false``
8686

8787
* - ``idFieldList``
88-
- | Field or list of fields by which to split the collection data. To
88+
- | Specifies a field or list of fields by which to split the collection data. To
8989
specify more than one field, separate them using a comma as shown
9090
in the following example:
9191

@@ -131,7 +131,7 @@ You can configure the following properties when writing data to MongoDB in batch
131131
| **Default:** ``true``
132132

133133
* - ``upsertDocument``
134-
- | When ``true``, replace and update operations will insert the data
134+
- | When ``true``, replace and update operations insert the data
135135
if no match exists.
136136
|
137137
| For time series collections, you must set ``upsertDocument`` to
@@ -140,29 +140,29 @@ You can configure the following properties when writing data to MongoDB in batch
140140
| **Default:** ``true``
141141

142142
* - ``writeConcern.w``
143-
- | Specifies ``w``, a write-concern option to request acknowledgment that
143+
- | Specifies ``w``, a write-concern option requesting acknowledgment that
144144
the write operation has propagated to a specified number of MongoDB
145145
nodes.
146146
|
147147
| For a list of allowed values for this option, see :manual:`WriteConcern
148148
w Option </reference/write-concern/#w-option>` in the {+mdb-server+}
149149
manual.
150150
|
151-
| **Default:** ``1``
151+
| **Default:** ``majority`` *or* ``1``
152152

153153
* - ``writeConcern.journal``
154-
- | Specifies ``j``, a write-concern option to enable request for
155-
acknowledgment that the data is confirmed on on-disk journal for
156-
the criteria specified in the ``w`` option. You can specify
157-
either ``true`` or ``false``.
154+
- | Specifies ``j``, a write-concern option requesting acknowledgment that
155+
the data has been written to the on-disk journal for the criteria
156+
specified in the ``w`` option. You can specify either ``true`` or
157+
``false``.
158158
|
159159
| For more information on ``j`` values, see :manual:`WriteConcern j
160160
Option </reference/write-concern/#j-option>` in the {+mdb-server+}
161161
manual.
162162

163163
* - ``writeConcern.wTimeoutMS``
164164
- | Specifies ``wTimeoutMS``, a write-concern option to return an error
165-
when a write operation exceeds the number of milliseconds. If you
165+
when a write operation exceeds the specified number of milliseconds. If you
166166
use this optional setting, you must specify a nonnegative integer.
167167
|
168168
| For more information on ``wTimeoutMS`` values, see

source/streaming-mode/streaming-write-config.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can configure the following properties when writing data to MongoDB in strea
5858
| **Default:** ``com.mongodb.spark.sql.connector.connection.DefaultMongoClientFactory``
5959

6060
* - ``convertJson``
61-
- | Specifies whether the connector parses the string and converts extended JSON
61+
- | Specifies if the connector parses string values and converts extended JSON
6262
into BSON.
6363
|
6464
| This setting accepts the following values:
@@ -85,7 +85,7 @@ You can configure the following properties when writing data to MongoDB in strea
8585
| **Default:** ``false``
8686

8787
* - ``idFieldList``
88-
- | Field or list of fields by which to split the collection data. To
88+
- | Specifies a field or list of fields by which to split the collection data. To
8989
specify more than one field, separate them using a comma as shown
9090
in the following example:
9191

@@ -131,7 +131,7 @@ You can configure the following properties when writing data to MongoDB in strea
131131
| **Default:** ``true``
132132

133133
* - ``upsertDocument``
134-
- | When ``true``, replace and update operations will insert the data
134+
- | When ``true``, replace and update operations insert the data
135135
if no match exists.
136136
|
137137
| For time series collections, you must set ``upsertDocument`` to
@@ -140,37 +140,37 @@ You can configure the following properties when writing data to MongoDB in strea
140140
| **Default:** ``true``
141141

142142
* - ``writeConcern.w``
143-
- | Specifies ``w``, a write-concern option to request acknowledgment that
143+
- | Specifies ``w``, a write-concern option requesting acknowledgment that
144144
the write operation has propagated to a specified number of MongoDB
145145
nodes.
146146
|
147147
| For a list of allowed values for this option, see :manual:`WriteConcern
148148
w Option </reference/write-concern/#w-option>` in the {+mdb-server+}
149149
manual.
150150
|
151-
| **Default:** ``1``
151+
| **Default:** ``majority`` *or* ``1``
152152

153153
* - ``writeConcern.journal``
154-
- | Specifies ``j``, a write-concern option to enable request for
155-
acknowledgment that the data is confirmed on on-disk journal for
156-
the criteria specified in the ``w`` option. You can specify
157-
either ``true`` or ``false``.
154+
- | Specifies ``j``, a write-concern option requesting acknowledgment that
155+
the data has been written to the on-disk journal for the criteria
156+
specified in the ``w`` option. You can specify either ``true`` or
157+
``false``.
158158
|
159159
| For more information on ``j`` values, see :manual:`WriteConcern j
160160
Option </reference/write-concern/#j-option>` in the {+mdb-server+}
161161
manual.
162162

163163
* - ``writeConcern.wTimeoutMS``
164164
- | Specifies ``wTimeoutMS``, a write-concern option to return an error
165-
when a write operation exceeds the number of milliseconds. If you
165+
when a write operation exceeds the specified number of milliseconds. If you
166166
use this optional setting, you must specify a nonnegative integer.
167167
|
168168
| For more information on ``wTimeoutMS`` values, see
169169
:manual:`WriteConcern wtimeout </reference/write-concern/#wtimeout>` in
170170
the {+mdb-server+} manual.
171171

172172
* - ``checkpointLocation``
173-
- | The absolute file path of the directory to which the connector writes checkpoint
173+
- | The absolute file path of the directory where the connector writes checkpoint
174174
information.
175175
|
176176
| For more information about checkpoints, see the `Spark Structured

0 commit comments

Comments
 (0)