Skip to content

Commit edbb3e8

Browse files
authored
[DOCS] Update anchors and links for Elasticserach API relocation. (#1322)
1 parent 3b3f9ba commit edbb3e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/src/reference/asciidoc/core/configuration.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Will not work on Elasticsearch 6.0+ index versions, but support will continue fo
211211
added[2.1]
212212
`es.mapping.include` (default none)::
213213
Field/property to be included in the document sent to {es}. Useful for _extracting_ the needed data from entities. The syntax is similar
214-
to that of {es} {ref}/search-request-source-filtering.html[include/exclude].
214+
to that of {es} {ref}/search-request-body.html#request-body-search-source-filtering[include/exclude].
215215
Multiple values can be specified by using a comma. By default, no value is specified meaning all properties/fields are included.
216216

217217
IMPORTANT: The `es.mapping.include` feature is ignored when `es.input.json` is specified. In order to prevent the connector from indexing
@@ -220,7 +220,7 @@ data that is implicitly excluded, any jobs with these property conflicts will re
220220
added[2.1]
221221
`es.mapping.exclude` (default none)::
222222
Field/property to be excluded in the document sent to {es}. Useful for _eliminating_ unneeded data from entities. The syntax is similar
223-
to that of {es} {ref}/search-request-source-filtering.html[include/exclude].
223+
to that of {es} {ref}/search-request-body.html#request-body-search-source-filtering[include/exclude].
224224
Multiple values can be specified by using a comma. By default, no value is specified meaning no properties/fields are excluded.
225225

226226
IMPORTANT: The `es.mapping.exclude` feature is ignored when `es.input.json` is specified. In order to prevent the connector from indexing
@@ -279,7 +279,7 @@ added[2.2]
279279
Fields/properties that should be considered as arrays/lists. Since {es} can map one or multiple values to a field, {eh} cannot determine from the mapping
280280
whether to instantiate one value or a array type (depending on the library type). When encountering multiple values, {eh} will automatically use
281281
the array/list type but in strict mapping scenarios (like Spark SQL) this might lead to an unexpected schema change.
282-
The syntax is similar to that of {es} {ref}/search-request-source-filtering.html[include/exclude].
282+
The syntax is similar to that of {es} {ref}/search-request-body.html#request-body-search-source-filtering[include/exclude].
283283
Multiple values can be specified by using a comma. By default, no value is specified meaning no properties/fields are included.
284284

285285
For example:

docs/src/reference/asciidoc/core/spark.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ val smiths = sqlContext.esDF("spark/people","?q=Smith") <1>
15771577

15781578
In some cases, especially when the index in {es} contains a lot of fields, it is desireable to create a +DataFrame+ that contains only a _subset_ of them. While one can modify the +DataFrame+ (by working on its backing +RDD+) through the official Spark API or through dedicated queries, {eh} allows the user to specify what fields to include and exclude from {es} when creating the +DataFrame+.
15791579

1580-
Through +es.read.field.include+ and +es.read.field.exclude+ properties, one can indicate what fields to include or exclude from the index mapping. The syntax is similar to that of {es} {ref}/search-request-source-filtering.html[include/exclude]. Multiple values can be specified by using a comma. By default, no value is specified meaning all properties/fields are included and no properties/fields are excluded.
1580+
Through +es.read.field.include+ and +es.read.field.exclude+ properties, one can indicate what fields to include or exclude from the index mapping. The syntax is similar to that of {es} {ref}/search-request-body.html#request-body-search-source-filtering[include/exclude]. Multiple values can be specified by using a comma. By default, no value is specified meaning all properties/fields are included and no properties/fields are excluded.
15811581

15821582
For example:
15831583
[source,ini]

0 commit comments

Comments
 (0)