Skip to content

Commit 322117e

Browse files
committed
Fixing property names in mapping document. Fixes elastic#860
1 parent fefcf8b commit 322117e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Note that typically handling of these types poses no issues for the user whether
5252
[[mapping-multi-values]]
5353
=== Handling array/multi-values fields
5454

55-
{es} treats fields with single or multi-values the same; in fact, the mapping provides no information about this. As a client, it means one cannot tell whether a field is single-valued or not until is actually being read. In most cases this is not an issue and {eh} automatically creates the necessary list/array on the fly. However in environments with strict schema such as Spark SQL, changing a field actual value from its declared type is not allowed. Worse yet, this information needs to be available even before reading the data. Since the mapping is not conclusive enough, {eh} allows the user to specify the extra information through <<cfg-field-info, field information>>, specifically +es.field.read.as.array.include+ and +es.field.read.as.array.include+.
55+
{es} treats fields with single or multi-values the same; in fact, the mapping provides no information about this. As a client, it means one cannot tell whether a field is single-valued or not until is actually being read. In most cases this is not an issue and {eh} automatically creates the necessary list/array on the fly. However in environments with strict schema such as Spark SQL, changing a field actual value from its declared type is not allowed. Worse yet, this information needs to be available even before reading the data. Since the mapping is not conclusive enough, {eh} allows the user to specify the extra information through <<cfg-field-info, field information>>, specifically +es.read.field.as.array.include+ and +es.read.field.as.array.exclude+.
5656

5757
[float]
5858
=== Automatic mapping

0 commit comments

Comments
 (0)