Skip to content

Commit eae33fe

Browse files
authored
Corrected sample errors
1 parent 07b5dc8 commit eae33fe

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

articles/search/search-howto-index-sharepoint-online.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: liamca
99

1010
ms.service: cognitive-search
1111
ms.topic: how-to
12-
ms.date: 08/25/2022
12+
ms.date: 09/08/2022
1313
---
1414

1515
# Index data from SharePoint document libraries
@@ -215,7 +215,7 @@ api-key: [admin key]
215215

216216
An indexer connects a data source with a target search index and provides a schedule to automate the data refresh. Once the index and data source have been created, you're ready to create the indexer.
217217

218-
During this section you’ll be asked to sign in with your organization credentials that have access to the SharePoint site. If possible, we recommend creating a new organizational user account and giving that new user the exact permissions that you want the indexer to have.
218+
During this section you’ll be asked to sign in with your organization credentials that have access to the SharePoint site. If possible, we recommend creating a new organizational user account and giving that new user the exact permissions that you want the indexer to have.
219219

220220
There are a few steps to creating the indexer:
221221

@@ -249,7 +249,8 @@ There are a few steps to creating the indexer:
249249
"mappingFunction" : {
250250
"name" : "base64Encode"
251251
}
252-
}
252+
}
253+
]
253254
}
254255
```
255256
@@ -293,9 +294,9 @@ There are a few steps to creating the indexer:
293294
"maxFailedItemsPerBatch": null,
294295
"base64EncodeKeys": null,
295296
"configuration:" {
296-
"indexedFileNameExtensions" : null,
297-
"excludedFileNameExtensions" : null,
298-
"dataToExtract": "contentAndMetadata"
297+
"dataToExtract": "contentAndMetadata",
298+
"indexedFileNameExtensions" : ".pdf, .docx",
299+
"excludedFileNameExtensions" : ".png, .jpg"
299300
}
300301
},
301302
"schedule" : { },
@@ -306,7 +307,8 @@ There are a few steps to creating the indexer:
306307
"mappingFunction" : {
307308
"name" : "base64Encode"
308309
}
309-
}
310+
}
311+
]
310312
}
311313
```
312314
@@ -467,4 +469,4 @@ You can also continue indexing if errors happen at any point of processing, eith
467469
## See also
468470

469471
+ [Indexers in Azure Cognitive Search](search-indexer-overview.md)
470-
+ [Content metadata properties used in Azure Cognitive Search](search-blob-metadata-properties.md)
472+
+ [Content metadata properties used in Azure Cognitive Search](search-blob-metadata-properties.md)

0 commit comments

Comments
 (0)