Skip to content

Commit 30db95f

Browse files
author
Matt Gotteiner
committed
Update documentation
1 parent 13a4ddc commit 30db95f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/search/search-howto-index-csv-blobs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ id, datePublished, tags
2626
2, 2016-07-07, "cloud,mobile"
2727
```
2828

29+
If a field inside the CSV file contains the delimeter, it should be wrapped in quotes. If the field contains a quote, it must be escaped using double quotes (`""`).
30+
31+
```text
32+
id, datePublished, tags
33+
1, 2020-01-05, "tags,with,""quoted text"""
34+
```
35+
2936
Without the `delimitedText` parsing mode, the entire contents of the CSV file would be treated as one search document.
3037

3138
Whenever you're creating multiple search documents from a single blob, be sure to review [Indexing blobs to produce multiple search documents](search-howto-index-one-to-many-blobs.md) to understand how document key assignments work. The blob indexer is capable of finding or generating values that uniquely define each new document. Specifically, it can create a transitory `AzureSearch_DocumentKey` that generated when a blob is parsed into smaller parts, where the value is then used as the search document's key in the index.

0 commit comments

Comments
 (0)