Skip to content

Commit e16cca0

Browse files
authored
Merge pull request #42342 from HeidiSteen/heidist-master
Azure Search: cleanup after porting preview API to REST API docset
2 parents dc26a00 + abbb225 commit e16cca0

16 files changed

+55
-461
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7000,6 +7000,16 @@
70007000
"redirect_url": "https://docs.microsoft.com/rest/api/searchservice/add-scoring-profiles-to-a-search-index",
70017001
"redirect_document_id": false
70027002
},
7003+
{
7004+
"source_path": "articles/search/ref-create-indexer.md",
7005+
"redirect_url": "https://docs.microsoft.com/rest/api/searchservice/create-indexer",
7006+
"redirect_document_id": true
7007+
},
7008+
{
7009+
"source_path": "articles/search/ref-create-skillset.md",
7010+
"redirect_url": "https://docs.microsoft.com/rest/api/searchservice/create-skillset",
7011+
"redirect_document_id": true
7012+
},
70037013
{
70047014
"source_path": "articles/search/search-api-2017-11-11-preview.md",
70057015
"redirect_url": "/azure/search/search-api-preview",

articles/search/TOC.yml

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -219,41 +219,31 @@
219219
href: http://azure-sdk-for-python.readthedocs.io/en/latest/ref/azure.mgmt.search.html
220220
- name: REST
221221
href: /rest/api/searchservice
222-
items:
223-
- name: 2017-11-11-Preview
224-
href: search-api-preview.md
225222
- name: REST (Management)
226223
href: /rest/api/searchmanagement
227-
- name: Cognitive search (Preview)
224+
- name: REST (Preview)
225+
href: search-api-preview.md
226+
- name: Predefined skills (Preview)
227+
href: cognitive-search-predefined-skills.md
228228
items:
229-
- name: 2017-11-11-Preview (REST)
230-
href: search-api-preview.md
231-
items:
232-
- name: Create Skillset (Preview)
233-
href: ref-create-skillset.md
234-
- name: Create Indexer (Preview)
235-
href: ref-create-indexer.md
236-
- name: Predefined skills
237-
href: cognitive-search-predefined-skills.md
238-
items:
239-
- name: Key Phrase Extraction
240-
href: cognitive-search-skill-keyphrases.md
241-
- name: Language Detection
242-
href: cognitive-search-skill-language-detection.md
243-
- name: Named Entity Recognition
244-
href: cognitive-search-skill-named-entity-recognition.md
245-
- name: Text Merger
246-
href: cognitive-search-skill-textmerger.md
247-
- name: Text Split
248-
href: cognitive-search-skill-textsplit.md
249-
- name: Sentiment
250-
href: cognitive-search-skill-sentiment.md
251-
- name: Image Analysis
252-
href: cognitive-search-skill-image-analysis.md
253-
- name: Ocr
254-
href: cognitive-search-skill-ocr.md
255-
- name: Shaper
256-
href: cognitive-search-skill-shaper.md
229+
- name: Key Phrase Extraction
230+
href: cognitive-search-skill-keyphrases.md
231+
- name: Language Detection
232+
href: cognitive-search-skill-language-detection.md
233+
- name: Named Entity Recognition
234+
href: cognitive-search-skill-named-entity-recognition.md
235+
- name: Text Merger
236+
href: cognitive-search-skill-textmerger.md
237+
- name: Text Split
238+
href: cognitive-search-skill-textsplit.md
239+
- name: Sentiment
240+
href: cognitive-search-skill-sentiment.md
241+
- name: Image Analysis
242+
href: cognitive-search-skill-image-analysis.md
243+
- name: Ocr
244+
href: cognitive-search-skill-ocr.md
245+
- name: Shaper
246+
href: cognitive-search-skill-shaper.md
257247
- name: Resources
258248
items:
259249
- name: FAQ - Frequently Asked Questions

articles/search/cognitive-search-concept-annotations-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,5 @@ Note that the cardinality of `"/document/people/*/lastname"` is larger than that
120120
## See also
121121
+ [How to integrate a custom skill into an enrichment pipeline](cognitive-search-custom-skill-interface.md)
122122
+ [How to define a skillset](cognitive-search-defining-skillset.md)
123-
+ [Create Skillset (REST)](ref-create-skillset.md)
123+
+ [Create Skillset (REST)](https://docs.microsoft.com/rest/api/searchservice/create-skillset)
124124
+ [How to map enriched fields to an index](cognitive-search-output-field-mapping.md)

articles/search/cognitive-search-concept-image-scenarios.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Set the **parsingMode** parameter to `json` (to index each blob as a single docu
4040
The default of 2000 pixels for the normalized images maximum width and height is based on the maximum sizes supported by the [OCR skill](cognitive-search-skill-ocr.md) and the [image analysis skill](cognitive-search-skill-image-analysis.md). If you increase the maximum limits, processing could fail on the larger images.
4141

4242

43-
You specify the imageAction in your [indexer definition](ref-create-indexer.md) as follows:
43+
You specify the imageAction in your [indexer definition](https://docs.microsoft.com/rest/api/searchservice/create-indexer) as follows:
4444

4545
```json
4646
{
@@ -213,7 +213,7 @@ As a helper, if you need to transform normalized coordinates to the original coo
213213
```
214214

215215
## See also
216-
+ [Create indexer (REST)](ref-create-indexer.md)
216+
+ [Create indexer (REST)](https://docs.microsoft.com/rest/api/searchservice/create-indexer)
217217
+ [Analyze image skill](cognitive-search-skill-image-analysis.md)
218218
+ [OCR skill](cognitive-search-skill-ocr.md)
219219
+ [Text merge skill](cognitive-search-skill-textmerger.md)

articles/search/cognitive-search-concept-intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,21 @@ Currently, only REST APIs are provided. Use `api-version=2017-11-11-Preview` on
9898
| REST API | Description |
9999
|-----|-------------|
100100
| [Create Data Source](https://docs.microsoft.com/rest/api/searchservice/create-data-source) | A resource identifying an external data source providing source data used to create enriched documents. |
101-
| [Create Skillset (api-version=2017-11-11-Preview)](ref-create-skillset.md) | A resource coordinating the use of [predefined skills](cognitive-search-predefined-skills.md) and [custom cognitive skills](cognitive-search-custom-skill-interface.md) used in an enrichment pipeline during indexing. |
101+
| [Create Skillset (api-version=2017-11-11-Preview)](https://docs.microsoft.com/rest/api/searchservice/create-skillset) | A resource coordinating the use of [predefined skills](cognitive-search-predefined-skills.md) and [custom cognitive skills](cognitive-search-custom-skill-interface.md) used in an enrichment pipeline during indexing. |
102102
| [Create Index](https://docs.microsoft.com/rest/api/searchservice/create-index) | A schema expressing an Azure Search index. Fields in the index map to fields in source data or to fields manufactured during the enrichment phase (for example, a field for organization names created by entity recognition). |
103-
| [Create Indexer (api-version=2017-11-11-Preview)](ref-create-skillset.md) | A resource defining components used during indexing: including a data source, a skillset, field associations from source and intermediary data structures to target index, and the index itself. Running the indexer is the trigger for data ingestion and enrichment. The output is a search corpus based on the index schema, populated with source data, enriched through skillsets. |
103+
| [Create Indexer (api-version=2017-11-11-Preview)](https://docs.microsoft.com/rest/api/searchservice/create-skillset) | A resource defining components used during indexing: including a data source, a skillset, field associations from source and intermediary data structures to target index, and the index itself. Running the indexer is the trigger for data ingestion and enrichment. The output is a search corpus based on the index schema, populated with source data, enriched through skillsets. |
104104

105105
**Checklist: A typical workflow**
106106

107107
1. Subset your Azure source data into a representative sample. Indexing takes time so start with a small, representative data set and then build it up incrementally as your solution matures.
108108

109109
1. Create a [data source object](https://docs.microsoft.com/rest/api/searchservice/create-data-source) in Azure Search to provide a connection string for data retrieval.
110110

111-
1. Create a [skillset](ref-create-skillset.md) with enrichment steps.
111+
1. Create a [skillset](https://docs.microsoft.com/rest/api/searchservice/create-skillset) with enrichment steps.
112112

113113
1. Define the [index schema](https://docs.microsoft.com/rest/api/searchservice/create-index). The *Fields* collection includes fields from source data. You should also stub out additional fields to hold generated values for content created during enrichment.
114114

115-
1. Define the [indexer](ref-create-skillset.md) referencing the data source, skillset, and index.
115+
1. Define the [indexer](https://docs.microsoft.com/rest/api/searchservice/create-skillset) referencing the data source, skillset, and index.
116116

117117
1. Within the indexer, add *outputFieldMappings*. This section maps output from the skillset (in step 3) to the inputs fields in the index schema (in step 4).
118118

articles/search/cognitive-search-create-custom-skill-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,5 +318,5 @@ Congratulations! You have created your first custom enricher. Now you can follow
318318

319319
+ [Add a custom skill to a cognitive search pipeline](cognitive-search-custom-skill-interface.md)
320320
+ [How to define a skillset](cognitive-search-defining-skillset.md)
321-
+ [Create Skillset (REST)](ref-create-skillset.md)
321+
+ [Create Skillset (REST)](https://docs.microsoft.com/rest/api/searchservice/create-skillset)
322322
+ [How to map enriched fields](cognitive-search-output-field-mapping.md)

articles/search/cognitive-search-custom-skill-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,5 @@ When you create a Web API enricher, you can describe HTTP headers and parameters
142142

143143
+ [Example: Creating a custom skill for the Translate Text API](cognitive-search-create-custom-skill-example.md)
144144
+ [How to define a skillset](cognitive-search-defining-skillset.md)
145-
+ [Create Skillset (REST)](ref-create-skillset.md)
145+
+ [Create Skillset (REST)](https://docs.microsoft.com/rest/api/searchservice/create-skillset)
146146
+ [How to map enriched fields](cognitive-search-output-field-mapping.md)

articles/search/cognitive-search-defining-skillset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ In the diagram, the *document cracking* step happens automatically. Essentially,
4747

4848
## Skillset definition in REST
4949

50-
A skillset is defined as an array of skills. Each skill defines the source of its inputs and the name of the outputs produced. Using the [Create Skillset REST API](ref-create-skillset.md), you can define a skillset that corresponds to the previous diagram:
50+
A skillset is defined as an array of skills. Each skill defines the source of its inputs and the name of the outputs produced. Using the [Create Skillset REST API](https://docs.microsoft.com/rest/api/searchservice/create-skillset), you can define a skillset that corresponds to the previous diagram:
5151

5252
```http
5353
PUT https://[servicename].search.windows.net/skillsets/[skillset name]?api-version=2017-11-11-Preview

articles/search/cognitive-search-resources-documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ The following articles are the complete documentation for cognitive search.
4646
+ [Microsoft.Skills.Util.ShaperSkill](cognitive-search-skill-shaper.md)
4747

4848
+ [Preview REST API](search-api-2017-11-11-preview.md)
49-
+ [Create Skillset (api-version=2017-11-11-Preview)](ref-create-skillset.md)
50-
+ [Create Indexer (api-version=2017-11-11-Preview)](ref-create-indexer.md)
49+
+ [Create Skillset (api-version=2017-11-11-Preview)](https://docs.microsoft.com/rest/api/searchservice/create-skillset)
50+
+ [Create Indexer (api-version=2017-11-11-Preview)](https://docs.microsoft.com/rest/api/searchservice/create-indexer)
5151

5252
## See also
5353

articles/search/cognitive-search-skill-image-analysis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,4 +244,4 @@ In the following error cases, no elements are extracted.
244244

245245
+ [Predefined skills](cognitive-search-predefined-skills.md)
246246
+ [How to define a skillset](cognitive-search-defining-skillset.md)
247-
+ [Create Indexer (REST)](ref-create-indexer.md)
247+
+ [Create Indexer (REST)](https://docs.microsoft.com/rest/api/searchservice/create-indexer)

0 commit comments

Comments
 (0)