Skip to content

Commit c109416

Browse files
author
Arvind Krishnaa Jagannathan
committed
Attempt at improving acrolinx score
1 parent 269a779 commit c109416

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/search/search-dotnet-sdk-migration-version-10.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Version 10 of the Azure Search .NET SDK targets the latest generally available v
3131

3232
* Introduction of two new skills - [Conditional skill](cognitive-search-skill-conditional.md) and [Text Translation skill](cognitive-search-skill-text-translation.md).
3333
* [Shaper skill](cognitive-search-skill-shaper.md) inputs have been restructured to accommodate consolidation from nested contexts. For more information, see this [example JSON definition](https://docs.microsoft.com/azure/search/cognitive-search-skill-shaper#scenario-3-input-consolidation-from-nested-contexts).
34-
* Addition of 2 new [field mapping functions](search-indexer-field-mappings.md):
34+
* Addition of two new [field mapping functions](search-indexer-field-mappings.md):
3535
- [urlEncode](https://docs.microsoft.com/azure/search/search-indexer-field-mappings#urlencode-function)
3636
- [urlDecode](https://docs.microsoft.com/azure/search/search-indexer-field-mappings#urldecode-function)
3737
* On certain occasions, errors and warnings that show up in [indexer execution status](https://docs.microsoft.com/rest/api/searchservice/get-indexer-status) can have additional details that help in debugging. `IndexerExecutionResult` has been updated to reflect this behavior.
@@ -63,7 +63,7 @@ There are several breaking changes in version 10 that may require code changes i
6363

6464
The definition of the [Custom Web API skill](cognitive-search-custom-skill-web-api.md) was incorrectly specified in version 9 and older.
6565

66-
The model for `WebApiSkill` specified `HttpHeaders` as an object property that _contains_ a dictionary. Creating a skillset with a `WebApiSkill` constructed in this manner would result in an exception because the REST API would consider the request badly formed. This has been corrected, by making `HttpHeaders` **a top-level dictionary property** on the `WebApiSkill` model itself - which is considered a valid request from the REST API.
66+
The model for `WebApiSkill` specified `HttpHeaders` as an object property that _contains_ a dictionary. Creating a skillset with a `WebApiSkill` constructed in this manner would result in an exception because the REST API would consider the request badly formed. This issue has been corrected, by making `HttpHeaders` **a top-level dictionary property** on the `WebApiSkill` model itself - which is considered a valid request from the REST API.
6767

6868
For example, if you previously attempted to instantiate a `WebApiSkill` as follows:
6969

@@ -136,13 +136,13 @@ var skillset = new Skillset()
136136

137137
`SentimentSkill` is assigned a name `#1`, `WebApiSkill` is assigned `#2`, `ShaperSkill` is assigned `#3` and so on.
138138

139-
If you choose to identify skills by a custom name, make sure to update all instances of your clients to version 10 of the SDK first. Otherwise, there is a possibility that a client using an older version of the SDK could possibly `null` out the `Name` property of a skill, causing the client to fall back on the default naming scheme.
139+
If you choose to identify skills by a custom name, make sure to update all instances of your clients to version 10 of the SDK first. Otherwise, there is a possibility that a client using an older version of the SDK could `null` out the `Name` property of a skill, causing the client to fall back on the default naming scheme.
140140

141141
## Additional details for errors and warnings as part of indexer execution status
142142

143143
`ItemError` and `ItemWarning` models that encapsulate details of errors and warnings (respectively) that occur during an indexer execution have been modified to include 3 new properties, with the objective to aid in debugging the indexer. These properties are:
144144

145-
- `Name`: The name of the source at which the error originated. For example, this could refer to a particular skill in the attached skillset.
145+
- `Name`: The name of the source at which the error originated. For example, it could refer to a particular skill in the attached skillset.
146146
- `Details`: Additional verbose details about the error or warning.
147147
- `DocumentationLink`: A link to a troubleshooting guide for the specific error or warning.
148148

0 commit comments

Comments
 (0)