You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/reference/asciidoc/core/configuration.adoc
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -211,7 +211,7 @@ Will not work on Elasticsearch 6.0+ index versions, but support will continue fo
211
211
added[2.1]
212
212
`es.mapping.include` (default none)::
213
213
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].
215
215
Multiple values can be specified by using a comma. By default, no value is specified meaning all properties/fields are included.
216
216
217
217
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
220
220
added[2.1]
221
221
`es.mapping.exclude` (default none)::
222
222
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].
224
224
Multiple values can be specified by using a comma. By default, no value is specified meaning no properties/fields are excluded.
225
225
226
226
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]
279
279
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
280
280
whether to instantiate one value or a array type (depending on the library type). When encountering multiple values, {eh} will automatically use
281
281
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].
283
283
Multiple values can be specified by using a comma. By default, no value is specified meaning no properties/fields are included.
Copy file name to clipboardExpand all lines: docs/src/reference/asciidoc/core/spark.adoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1577,7 +1577,7 @@ val smiths = sqlContext.esDF("spark/people","?q=Smith") <1>
1577
1577
1578
1578
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+.
1579
1579
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.
0 commit comments