Skip to content

Commit a15dc23

Browse files
committed
Fixing documentation errors
Changed to fileRows.documentType.
1 parent f1bbf9c commit a15dc23

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/configuration.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,14 @@ The following options control how the connector writes rows as documents to Mark
170170
| spark.marklogic.write.batchSize | The number of documents written in a call to MarkLogic; defaults to 100. |
171171
| spark.marklogic.write.collections | Comma-delimited string of collection names to add to each document. |
172172
| spark.marklogic.write.permissions | Comma-delimited string of role names and capabilities to add to each document - e.g. role1,read,role2,update,role3,execute . |
173-
| spark.marklogic.write.files.documentType | Forces a document type when MarkLogic does not recognize a URI extension; must
174-
be one of `JSON`, `XML`, or `TEXT`. |
173+
| spark.marklogic.write.fileRows.documentType | Forces a document type when MarkLogic does not recognize a URI extension; must be one of `JSON`, `XML`, or `TEXT`. |
175174
| spark.marklogic.write.temporalCollection | Name of a temporal collection to assign each document to. |
176175
| spark.marklogic.write.threadCount | The number of threads used within each partition to send documents to MarkLogic; defaults to 4. |
177176
| spark.marklogic.write.transform | Name of a REST transform to apply to each document. |
178177
| spark.marklogic.write.transformParams | Comma-delimited string of transform parameter names and values - e.g. param1,value1,param2,value2 . |
179178
| spark.marklogic.write.transformParamsDelimiter | Delimiter to use instead of a command for the `transformParams` option. |
180179
| spark.marklogic.write.uriPrefix | String to prepend to each document URI, where the URI defaults to a UUID. |
181-
| spark.marklogic.write.uriReplace | Modify the initial URI for a row via a comma-delimited list of regular expression
182-
and replacement string pairs - e.g. regex,'value',regex,'value'. Each replacement string must be enclosed by single quotes. |
180+
| spark.marklogic.write.uriReplace | Modify the initial URI for a row via a comma-delimited list of regular expression and replacement string pairs - e.g. regex,'value',regex,'value'. Each replacement string must be enclosed by single quotes. |
183181
| spark.marklogic.write.uriSuffix | String to append to each document URI, where the URI defaults to a UUID. |
184182
| spark.marklogic.write.uriTemplate | String defining a template for constructing each document URI. See [Writing data](writing.md) for more information. |
185183

docs/writing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The URI can then be further adjusted as described in the "Controlling document U
4949
This feature allows for ingesting files of any type. The MarkLogic REST API will
5050
[determine the document type](https://docs.marklogic.com/guide/rest-dev/intro#id_53367) based on the URI extension, if
5151
MarkLogic recognizes it. If MarkLogic does not recognize the extension, and you wish to force a document type on each of
52-
the documents, you can set the `spark.marklogic.write.files.documentType` option to one of `XML`, `JSON`, or `TEXT`.
52+
the documents, you can set the `spark.marklogic.write.fileRows.documentType` option to one of `XML`, `JSON`, or `TEXT`.
5353

5454
### Writing document rows
5555

0 commit comments

Comments
 (0)