Skip to content

Commit 844e1a4

Browse files
authored
Re-wording
1 parent 96883b9 commit 844e1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/search/search-howto-index-one-to-many-blobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ id, temperature, pressure, timestamp
132132
2, 120, 3,"2013-05-11T00:00:00Z"
133133
```
134134

135-
Notice that `id` is set as the target field with the source `AzureSearch_DocumentKey` but the field is also present in the structure of the blobs. In this case, the key taken from each json line will be used as the document key instead of the unique identifier that would be generated for `AzureSearch_DocumentKey`.
135+
Notice that each document contains the id field, which is defined as the 'key' field in the index. In such a case, even though a document-unique AzureSearch_DocumentKey will be generated, it won't be used as the 'key' for the document. Rather, the value of the id field will be mapped to the 'key' field
136136

137137
Similar to the example above, this mapping will _not_ result in 4 documents showing up in the index, because the `id` field is not unique _across blobs_. When this is the case, any json entry that specifies an `id` will result in a merge on the existing document instead of an upload of a new document, and the state of the index will reflect the latest read entry with the specified `id`.
138138

0 commit comments

Comments
 (0)