diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28-preview/searchindex.json
index 3ff31b1e7452..977173ddd186 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28-preview/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28-preview/searchindex.json
@@ -4,10 +4,10 @@
"title": "SearchIndexClient",
"description": "Client that can be used to query an Azure Search index and upload, merge, or delete documents.",
"version": "2015-02-28-Preview",
- "x-ms-code-generation-settings": {
+ "x-ms-code-generation-settings": {
"useDateTimeOffset": true,
- "syncMethods": "None"
- }
+ "syncMethods": "None"
+ }
},
"consumes": [
"application/json"
@@ -35,7 +35,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -88,7 +90,7 @@
"value": {
"x-ms-client-name": "Results",
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/IndexingResult"
},
@@ -105,7 +107,9 @@
"mergeOrUpload",
"delete"
],
- "x-ms-enum": { "name": "IndexActionType" },
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
"description": "Specifies the operation to perform on a document in an indexing batch."
},
"SearchMode": {
@@ -114,7 +118,9 @@
"any",
"all"
],
- "x-ms-enum": { "name": "SearchMode" },
+ "x-ms-enum": {
+ "name": "SearchMode"
+ },
"description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
},
"QueryType": {
@@ -123,7 +129,9 @@
"simple",
"full"
],
- "x-ms-enum": { "name": "QueryType" },
+ "x-ms-enum": {
+ "name": "QueryType"
+ },
"description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
},
"SearchParametersPayload": {
@@ -286,4 +294,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28/searchindex.json
index b07ac8cbca30..3b2f10ee9b72 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2015-02-28/searchindex.json
@@ -31,7 +31,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -71,7 +73,7 @@
"properties": {
"value": {
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/IndexingResult"
},
@@ -89,7 +91,9 @@
"mergeOrUpload",
"delete"
],
- "x-ms-enum": { "name": "IndexActionType" },
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
"description": "Specifies the operation to perform on a document in an indexing batch."
},
"SearchMode": {
@@ -98,7 +102,9 @@
"any",
"all"
],
- "x-ms-enum": { "name": "SearchMode" },
+ "x-ms-enum": {
+ "name": "SearchMode"
+ },
"description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
},
"QueryType": {
@@ -107,7 +113,9 @@
"simple",
"full"
],
- "x-ms-enum": { "name": "QueryType" },
+ "x-ms-enum": {
+ "name": "QueryType"
+ },
"description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
},
"SearchParameters": {
@@ -266,4 +274,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json
index 93466105805e..3dbf96bdb689 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": 427
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": 427
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/searchindex.json
index f5e58115e4d7..f820f3dc98e8 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01-preview/searchindex.json
@@ -4,10 +4,10 @@
"title": "SearchIndexClient",
"description": "Client that can be used to query an Azure Search index and upload, merge, or delete documents.",
"version": "2016-09-01-Preview",
- "x-ms-code-generation-settings": {
+ "x-ms-code-generation-settings": {
"useDateTimeOffset": true,
- "syncMethods": "None"
- }
+ "syncMethods": "None"
+ }
},
"x-ms-parameterized-host": {
"hostTemplate": "https://{searchServiceName}.{searchDnsSuffix}/indexes('{indexName}')",
@@ -38,7 +38,9 @@
],
"operationId": "DocumentsProxy_Count",
"x-ms-examples": {
- "SearchIndexCountDocuments": { "$ref": "./examples/SearchIndexCountDocuments.json" }
+ "SearchIndexCountDocuments": {
+ "$ref": "./examples/SearchIndexCountDocuments.json"
+ }
},
"description": "Queries the number of documents in the Azure Search index.",
"externalDocs": {
@@ -100,7 +102,7 @@
"value": {
"x-ms-client-name": "Results",
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/IndexingResult"
},
@@ -117,7 +119,9 @@
"mergeOrUpload",
"delete"
],
- "x-ms-enum": { "name": "IndexActionType" },
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
"description": "Specifies the operation to perform on a document in an indexing batch."
},
"SearchMode": {
@@ -126,7 +130,9 @@
"any",
"all"
],
- "x-ms-enum": { "name": "SearchMode" },
+ "x-ms-enum": {
+ "name": "SearchMode"
+ },
"description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
},
"QueryType": {
@@ -135,7 +141,9 @@
"simple",
"full"
],
- "x-ms-enum": { "name": "QueryType" },
+ "x-ms-enum": {
+ "name": "QueryType"
+ },
"description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
},
"SearchParametersPayload": {
@@ -305,7 +313,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" },
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
"x-ms-parameter-location": "method"
},
"SearchServiceNameParameter": {
@@ -337,4 +347,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01/searchindex.json
index e837bfd2f69a..e5c304f95ecf 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2016-09-01/searchindex.json
@@ -4,10 +4,10 @@
"title": "SearchIndexClient",
"description": "Client that can be used to query an Azure Search index and upload, merge, or delete documents.",
"version": "2016-09-01",
- "x-ms-code-generation-settings": {
+ "x-ms-code-generation-settings": {
"useDateTimeOffset": true,
- "syncMethods": "None"
- }
+ "syncMethods": "None"
+ }
},
"consumes": [
"application/json"
@@ -35,7 +35,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -88,7 +90,7 @@
"value": {
"x-ms-client-name": "Results",
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/IndexingResult"
},
@@ -105,7 +107,9 @@
"mergeOrUpload",
"delete"
],
- "x-ms-enum": { "name": "IndexActionType" },
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
"description": "Specifies the operation to perform on a document in an indexing batch."
},
"SearchMode": {
@@ -114,7 +118,9 @@
"any",
"all"
],
- "x-ms-enum": { "name": "SearchMode" },
+ "x-ms-enum": {
+ "name": "SearchMode"
+ },
"description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
},
"QueryType": {
@@ -123,7 +129,9 @@
"simple",
"full"
],
- "x-ms-enum": { "name": "QueryType" },
+ "x-ms-enum": {
+ "name": "QueryType"
+ },
"description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
},
"SearchParametersPayload": {
@@ -286,4 +294,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsGet.json
index cff713cb9273..1a159f9b0681 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsGet.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsGet.json
@@ -1,36 +1,39 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "autocompleteMode": "oneTerm",
- "search": "washington medic",
- "suggesterName": "sg",
- "filter": "search.in(docId,'101,102,105')",
- "fuzzy": false,
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "searchFields": ["title", "description"],
- "top": 10
- },
- "responses": {
- "200": {
- "body": [
- {
- "text": "medicaid",
- "queryPlusText": "washington medicaid"
- },
- {
- "text": "medicare",
- "queryPlusText": "washington medicare"
- },
- {
- "text": "medicine",
- "queryPlusText": "washington medicine"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "top": 10
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
}
+ ]
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsPost.json
index 30f0b05d39f0..5385f71fe1ac 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsPost.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexAutocompleteDocumentsPost.json
@@ -1,37 +1,37 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "autocompleteRequest": {
- "autocompleteMode": "oneTerm",
- "search": "washington medic",
- "suggesterName": "sg",
- "filter": "search.in(docId,'101,102,105')",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "searchFields": "title,description",
- "top": 10
- }
- },
- "responses": {
- "200": {
- "body": [
- {
- "text": "medicaid",
- "queryPlusText": "washington medicaid"
- },
- {
- "text": "medicare",
- "queryPlusText": "washington medicare"
- },
- {
- "text": "medicine",
- "queryPlusText": "washington medicine"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "autocompleteRequest": {
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": "title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
}
+ ]
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexCountDocuments.json
index acc0d868dddf..024a9ffcbb2d 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexCountDocuments.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexCountDocuments.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": 427
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": 427
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexGetDocument.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexGetDocument.json
index 50738b071d51..e52da497ea5c 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexGetDocument.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexGetDocument.json
@@ -1,19 +1,23 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "key": "1",
- "$select": ["docId", "title", "description"]
- },
- "responses": {
- "200": {
- "body": {
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "key": "1",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexIndexDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexIndexDocuments.json
index 076914f9ebc2..40fe7f74ca02 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexIndexDocuments.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexIndexDocuments.json
@@ -1,94 +1,94 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "batch": {
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "batch": {
+ "value": [
+ {
+ "@search.action": "upload",
+ "docId": "1",
+ "title": "Fancy Stay",
+ "description": "Best hotel in town"
+ },
+ {
+ "@search.action": "merge",
+ "docId": "2",
+ "title": "Roach Motel"
+ },
+ {
+ "@search.action": "mergeOrUpload",
+ "docId": "3",
+ "title": "Econo Motel"
+ },
+ {
+ "@search.action": "delete",
+ "docId": "4"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"value": [
- {
- "@search.action": "upload",
- "docId": "1",
- "title": "Fancy Stay",
- "description": "Best hotel in town"
- },
- {
- "@search.action": "merge",
- "docId": "2",
- "title": "Roach Motel"
- },
- {
- "@search.action": "mergeOrUpload",
- "docId": "3",
- "title": "Econo Motel"
- },
- {
- "@search.action": "delete",
- "docId": "4"
- }
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 201
+ },
+ {
+ "key": "2",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
]
}
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "key": "1",
- "status": true,
- "errorMessage": null,
- "statusCode": 201
- },
- {
- "key": "2",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "3",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "4",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- }
- ]
- }
- },
- "207": {
- "body": {
- "value": [
- {
- "key": "1",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "2",
- "status": false,
- "errorMessage": "Document not found.",
- "statusCode": 404
- },
- {
- "key": "3",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "4",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- }
- ]
- }
+ },
+ "207": {
+ "body": {
+ "value": [
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "2",
+ "status": false,
+ "errorMessage": "Document not found.",
+ "statusCode": 404
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
+ ]
}
- }
+ }
+ }
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsGet.json
index b9aa3a1733a0..802955b430d0 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsGet.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsGet.json
@@ -1,65 +1,85 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "$count": true,
- "facet": [ "category,count:10,sort:count" ],
- "$filter": "rating gt 10",
- "highlight": [ "title" ],
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "$orderby": [ "search.score() desc", "rating desc" ],
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": [ "title", "description" ],
- "searchMode": "any",
- "$select": [ "docId", "title", "description" ],
- "$skip": 100,
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 25,
- "@search.coverage": 80,
- "@search.facets": {
- "category": [
- {
- "count": 1,
- "value": "Economy"
- },
- {
- "count": 1,
- "value": "Luxury"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "$count": true,
+ "facet": [
+ "category,count:10,sort:count"
+ ],
+ "$filter": "rating gt 10",
+ "highlight": [
+ "title"
+ ],
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "searchMode": "any",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$skip": 100,
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.coverage": 80,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
},
- "value": [
- {
- "@search.score": 1.50,
- "@search.highlights": {
- "title": [ "Nice Hotel" ]
- },
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.score": 0.70,
- "@search.highlights": {
- "title": [ "Fancy Hotel" ]
- },
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ]
- }
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
+ },
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
+ },
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsPost.json
index 3fca0afb9ff9..a499c2b07cfc 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsPost.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsPost.json
@@ -1,86 +1,98 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "searchRequest": {
- "count": true,
- "facets": [ "category,count:10,sort:count" ],
- "filter": "rating gt 4.0",
- "highlight": "title",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": null,
- "orderby": "search.score() desc,rating desc",
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": "title,description",
- "searchMode": "any",
- "select": "docId,title,description",
- "skip": 0,
- "top": 10
- }
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 25,
- "@search.facets": {
- "category": [
- {
- "count": 1,
- "value": "Economy"
- },
- {
- "count": 1,
- "value": "Luxury"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "searchRequest": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 0,
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
+ },
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "@search.nextPageParameters": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 2,
+ "top": 8
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
},
- "@search.nextPageParameters": {
- "count": true,
- "facets": [ "category,count:10,sort:count" ],
- "filter": "rating gt 4.0",
- "highlight": "title",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": null,
- "orderby": "search.score() desc,rating desc",
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": "title,description",
- "searchMode": "any",
- "select": "docId,title,description",
- "skip": 2,
- "top": 8
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
},
- "value": [
- {
- "@search.score": 1.50,
- "@search.highlights": {
- "title": [ "Nice Hotel" ]
- },
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.score": 0.70,
- "@search.highlights": {
- "title": [ "Fancy Hotel" ]
- },
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ],
- "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2017-11-11-Preview"
- }
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ],
+ "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2017-11-11-Preview"
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsGet.json
index 22fd6cc70f26..826cd66f1db4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsGet.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsGet.json
@@ -1,39 +1,48 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "$filter": "rating gt 10",
- "fuzzy": false,
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "$orderby": ["search.score() desc", "rating desc"],
- "search": "hote",
- "searchFields": ["title"],
- "suggesterName": "sg",
- "$select": ["docId", "title", "description"],
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "@search.text": "Nice Hotel",
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.text": "Fancy Hotel",
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ]
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "$filter": "rating gt 10",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "search": "hote",
+ "searchFields": [
+ "title"
+ ],
+ "suggesterName": "sg",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsPost.json
index 4802b4f82f20..9eb4c1d3f6fa 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsPost.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSuggestDocumentsPost.json
@@ -1,39 +1,39 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "suggestRequest": {
- "filter": "rating gt 4.0",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "orderby": "rating desc",
- "search": "hote",
- "searchFields": "title",
- "select": "docId,title,description",
- "top": 10
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "suggestRequest": {
+ "filter": "rating gt 4.0",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "orderby": "rating desc",
+ "search": "hote",
+ "searchFields": "title",
+ "select": "docId,title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
}
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "@search.text": "Nice Hotel",
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.text": "Fancy Hotel",
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json
index d6081f45d3ac..51cc704e0769 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json
@@ -41,7 +41,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/Count-Documents"
},
"x-ms-examples": {
- "SearchIndexCountDocuments": { "$ref": "./examples/SearchIndexCountDocuments.json" }
+ "SearchIndexCountDocuments": {
+ "$ref": "./examples/SearchIndexCountDocuments.json"
+ }
},
"description": "Queries the number of documents in the Azure Search index.",
"parameters": [
@@ -74,7 +76,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
},
"x-ms-examples": {
- "SearchIndexSearchDocumentsGet": { "$ref": "./examples/SearchIndexSearchDocumentsGet.json" }
+ "SearchIndexSearchDocumentsGet": {
+ "$ref": "./examples/SearchIndexSearchDocumentsGet.json"
+ }
},
"description": "Searches for documents in the Azure Search index.",
"parameters": [
@@ -182,8 +186,8 @@
"full"
],
"x-ms-enum": {
- "name": "QueryType",
- "modelAsString": false
+ "name": "QueryType",
+ "modelAsString": false
},
"x-nullable": false,
"description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.",
@@ -235,8 +239,8 @@
"all"
],
"x-ms-enum": {
- "name": "SearchMode",
- "modelAsString": false
+ "name": "SearchMode",
+ "modelAsString": false
},
"x-nullable": false,
"description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.",
@@ -304,7 +308,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
},
"x-ms-examples": {
- "SearchIndexSearchDocumentsPost": { "$ref": "./examples/SearchIndexSearchDocumentsPost.json" }
+ "SearchIndexSearchDocumentsPost": {
+ "$ref": "./examples/SearchIndexSearchDocumentsPost.json"
+ }
},
"description": "Searches for documents in the Azure Search index.",
"parameters": [
@@ -346,7 +352,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/lookup-document"
},
"x-ms-examples": {
- "SearchIndexGetDocument": { "$ref": "./examples/SearchIndexGetDocument.json" }
+ "SearchIndexGetDocument": {
+ "$ref": "./examples/SearchIndexGetDocument.json"
+ }
},
"description": "Retrieves a document from the Azure Search index.",
"parameters": [
@@ -394,7 +402,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
},
"x-ms-examples": {
- "SearchIndexSuggestDocumentsGet": { "$ref": "./examples/SearchIndexSuggestDocumentsGet.json" }
+ "SearchIndexSuggestDocumentsGet": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsGet.json"
+ }
},
"description": "Suggests documents in the Azure Search index that match the given partial query text.",
"parameters": [
@@ -536,7 +546,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
},
"x-ms-examples": {
- "SearchIndexSuggestDocumentsPost": { "$ref": "./examples/SearchIndexSuggestDocumentsPost.json" }
+ "SearchIndexSuggestDocumentsPost": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsPost.json"
+ }
},
"description": "Suggests documents in the Azure Search index that match the given partial query text.",
"parameters": [
@@ -577,7 +589,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/addupdate-or-delete-documents"
},
"x-ms-examples": {
- "SearchIndexIndexDocuments": { "$ref": "./examples/SearchIndexIndexDocuments.json" }
+ "SearchIndexIndexDocuments": {
+ "$ref": "./examples/SearchIndexIndexDocuments.json"
+ }
},
"description": "Sends a batch of document write actions to the Azure Search index.",
"parameters": [
@@ -624,7 +638,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
},
"x-ms-examples": {
- "SearchIndexAutocompleteDocumentsGet": { "$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json" }
+ "SearchIndexAutocompleteDocumentsGet": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json"
+ }
},
"description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
"parameters": [
@@ -660,8 +676,8 @@
"oneTermWithContext"
],
"x-ms-enum": {
- "name": "AutocompleteMode",
- "modelAsString": false
+ "name": "AutocompleteMode",
+ "modelAsString": false
},
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms.",
"x-ms-parameter-grouping": {
@@ -744,7 +760,7 @@
"description": "",
"schema": {
"$ref": "#/definitions/AutocompleteResult",
- "description": "The result of Autocomplete query."
+ "description": "The result of Autocomplete query."
}
}
}
@@ -760,7 +776,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
},
"x-ms-examples": {
- "SearchIndexAutocompleteDocumentsPost": { "$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json" }
+ "SearchIndexAutocompleteDocumentsPost": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json"
+ }
},
"description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
"parameters": [
@@ -786,7 +804,7 @@
"description": "",
"schema": {
"$ref": "#/definitions/AutocompleteResult",
- "description": "The result of Autocomplete query."
+ "description": "The result of Autocomplete query."
}
}
}
@@ -893,29 +911,29 @@
},
"SearchResult": {
"properties": {
- "@search.score": {
- "type": "number",
- "format": "double",
- "readOnly": true,
- "x-ms-client-name": "Score",
- "x-nullable": false,
- "description": "The relevance score of the document compared to other documents returned by the query."
- },
- "@search.highlights": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "readOnly": true,
- "x-ms-client-name": "Highlights",
- "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
- }
- },
- "additionalProperties": true,
- "description": "Contains a document found by a search query, plus associated metadata."
+ "@search.score": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "x-ms-client-name": "Score",
+ "x-nullable": false,
+ "description": "The relevance score of the document compared to other documents returned by the query."
+ },
+ "@search.highlights": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Highlights",
+ "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
+ }
+ },
+ "additionalProperties": true,
+ "description": "Contains a document found by a search query, plus associated metadata."
},
"IndexBatch": {
"properties": {
@@ -928,7 +946,9 @@
"x-ms-client-name": "Actions"
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Contains a batch of document write actions to send to the Azure Search index."
},
"IndexAction": {
@@ -941,7 +961,9 @@
"mergeOrUpload",
"delete"
],
- "x-ms-enum": { "name": "IndexActionType" },
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
"x-ms-client-name": "ActionType",
"x-nullable": false,
"description": "The operation to perform on a document in an indexing batch."
@@ -984,7 +1006,7 @@
"value": {
"x-ms-client-name": "Results",
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/IndexingResult"
},
@@ -1026,7 +1048,7 @@
],
"x-ms-enum": {
"name": "AutocompleteMode",
- "modelAsString" : false
+ "modelAsString": false
},
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms."
},
@@ -1231,11 +1253,11 @@
},
"description": "Parameters for fuzzy matching, and other autocomplete query behaviors."
},
- "AutocompleteResult" : {
- "properties": {
+ "AutocompleteResult": {
+ "properties": {
"value": {
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/AutocompleteItem"
},
@@ -1243,7 +1265,7 @@
"x-ms-client-name": "Results"
}
},
- "description": "The result of Autocomplete query."
+ "description": "The result of Autocomplete query."
},
"AutocompleteItem": {
"properties": {
@@ -1277,7 +1299,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" },
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
"x-ms-parameter-location": "method"
},
"SearchServiceNameParameter": {
@@ -1309,4 +1333,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/examples/SearchIndexCountDocuments.json
index 98f36d7e0a11..b1be0e315ffb 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/examples/SearchIndexCountDocuments.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/examples/SearchIndexCountDocuments.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": 427
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": 427
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/searchindex.json
index 2d381a25c644..ade520917e57 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11/searchindex.json
@@ -4,10 +4,10 @@
"title": "SearchIndexClient",
"description": "Client that can be used to query an Azure Search index and upload, merge, or delete documents.",
"version": "2017-11-11",
- "x-ms-code-generation-settings": {
+ "x-ms-code-generation-settings": {
"useDateTimeOffset": true,
- "syncMethods": "None"
- }
+ "syncMethods": "None"
+ }
},
"x-ms-parameterized-host": {
"hostTemplate": "https://{searchServiceName}.{searchDnsSuffix}/indexes('{indexName}')",
@@ -38,7 +38,9 @@
],
"operationId": "DocumentsProxy_Count",
"x-ms-examples": {
- "SearchIndexCountDocuments": { "$ref": "./examples/SearchIndexCountDocuments.json" }
+ "SearchIndexCountDocuments": {
+ "$ref": "./examples/SearchIndexCountDocuments.json"
+ }
},
"description": "Queries the number of documents in the Azure Search index.",
"externalDocs": {
@@ -100,7 +102,7 @@
"value": {
"x-ms-client-name": "Results",
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/IndexingResult"
},
@@ -117,7 +119,9 @@
"mergeOrUpload",
"delete"
],
- "x-ms-enum": { "name": "IndexActionType" },
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
"description": "Specifies the operation to perform on a document in an indexing batch."
},
"SearchMode": {
@@ -126,7 +130,9 @@
"any",
"all"
],
- "x-ms-enum": { "name": "SearchMode" },
+ "x-ms-enum": {
+ "name": "SearchMode"
+ },
"description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
},
"QueryType": {
@@ -135,7 +141,9 @@
"simple",
"full"
],
- "x-ms-enum": { "name": "QueryType" },
+ "x-ms-enum": {
+ "name": "QueryType"
+ },
"description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
},
"SearchParametersPayload": {
@@ -305,7 +313,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" },
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
"x-ms-parameter-location": "method"
},
"SearchServiceNameParameter": {
@@ -337,4 +347,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsGet.json
index 0fe6c765e626..d7485f781767 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsGet.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsGet.json
@@ -1,36 +1,39 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06",
- "autocompleteMode": "oneTerm",
- "search": "washington medic",
- "suggesterName": "sg",
- "filter": "search.in(docId,'101,102,105')",
- "fuzzy": false,
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "searchFields": ["title", "description"],
- "top": 10
- },
- "responses": {
- "200": {
- "body": [
- {
- "text": "medicaid",
- "queryPlusText": "washington medicaid"
- },
- {
- "text": "medicare",
- "queryPlusText": "washington medicare"
- },
- {
- "text": "medicine",
- "queryPlusText": "washington medicine"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06",
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "top": 10
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
}
+ ]
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsPost.json
index 30f0b05d39f0..5385f71fe1ac 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsPost.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexAutocompleteDocumentsPost.json
@@ -1,37 +1,37 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "autocompleteRequest": {
- "autocompleteMode": "oneTerm",
- "search": "washington medic",
- "suggesterName": "sg",
- "filter": "search.in(docId,'101,102,105')",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "searchFields": "title,description",
- "top": 10
- }
- },
- "responses": {
- "200": {
- "body": [
- {
- "text": "medicaid",
- "queryPlusText": "washington medicaid"
- },
- {
- "text": "medicare",
- "queryPlusText": "washington medicare"
- },
- {
- "text": "medicine",
- "queryPlusText": "washington medicine"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview",
+ "autocompleteRequest": {
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": "title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
}
+ ]
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexCountDocuments.json
index acc0d868dddf..024a9ffcbb2d 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexCountDocuments.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexCountDocuments.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": 427
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": 427
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexGetDocument.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexGetDocument.json
index 422b81720c1a..5a2707df0084 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexGetDocument.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexGetDocument.json
@@ -1,19 +1,23 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06",
- "key": "1",
- "$select": ["docId", "title", "description"]
- },
- "responses": {
- "200": {
- "body": {
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06",
+ "key": "1",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexIndexDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexIndexDocuments.json
index f69a11c5d925..af4aa5dc85c4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexIndexDocuments.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexIndexDocuments.json
@@ -1,94 +1,94 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06",
- "batch": {
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06",
+ "batch": {
+ "value": [
+ {
+ "@search.action": "upload",
+ "docId": "1",
+ "title": "Fancy Stay",
+ "description": "Best hotel in town"
+ },
+ {
+ "@search.action": "merge",
+ "docId": "2",
+ "title": "Roach Motel"
+ },
+ {
+ "@search.action": "mergeOrUpload",
+ "docId": "3",
+ "title": "Econo Motel"
+ },
+ {
+ "@search.action": "delete",
+ "docId": "4"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"value": [
- {
- "@search.action": "upload",
- "docId": "1",
- "title": "Fancy Stay",
- "description": "Best hotel in town"
- },
- {
- "@search.action": "merge",
- "docId": "2",
- "title": "Roach Motel"
- },
- {
- "@search.action": "mergeOrUpload",
- "docId": "3",
- "title": "Econo Motel"
- },
- {
- "@search.action": "delete",
- "docId": "4"
- }
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 201
+ },
+ {
+ "key": "2",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
]
}
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "key": "1",
- "status": true,
- "errorMessage": null,
- "statusCode": 201
- },
- {
- "key": "2",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "3",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "4",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- }
- ]
- }
- },
- "207": {
- "body": {
- "value": [
- {
- "key": "1",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "2",
- "status": false,
- "errorMessage": "Document not found.",
- "statusCode": 404
- },
- {
- "key": "3",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- },
- {
- "key": "4",
- "status": true,
- "errorMessage": null,
- "statusCode": 200
- }
- ]
- }
+ },
+ "207": {
+ "body": {
+ "value": [
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "2",
+ "status": false,
+ "errorMessage": "Document not found.",
+ "statusCode": 404
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
+ ]
}
- }
+ }
+ }
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsGet.json
index e463f5d1acea..df0b1fe15b94 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsGet.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsGet.json
@@ -1,65 +1,85 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06",
- "$count": true,
- "facet": [ "category,count:10,sort:count" ],
- "$filter": "rating gt 10",
- "highlight": [ "title" ],
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "$orderby": [ "search.score() desc", "rating desc" ],
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": [ "title", "description" ],
- "searchMode": "any",
- "$select": [ "docId", "title", "description" ],
- "$skip": 100,
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 25,
- "@search.coverage": 80,
- "@search.facets": {
- "category": [
- {
- "count": 1,
- "value": "Economy"
- },
- {
- "count": 1,
- "value": "Luxury"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06",
+ "$count": true,
+ "facet": [
+ "category,count:10,sort:count"
+ ],
+ "$filter": "rating gt 10",
+ "highlight": [
+ "title"
+ ],
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "searchMode": "any",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$skip": 100,
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.coverage": 80,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
},
- "value": [
- {
- "@search.score": 1.50,
- "@search.highlights": {
- "title": [ "Nice Hotel" ]
- },
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.score": 0.70,
- "@search.highlights": {
- "title": [ "Fancy Hotel" ]
- },
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ]
- }
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
+ },
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
+ },
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsPost.json
index 7516670b10c6..ba4042c46a79 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsPost.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSearchDocumentsPost.json
@@ -1,86 +1,98 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06",
- "searchRequest": {
- "count": true,
- "facets": [ "category,count:10,sort:count" ],
- "filter": "rating gt 4.0",
- "highlight": "title",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": null,
- "orderby": "search.score() desc,rating desc",
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": "title,description",
- "searchMode": "any",
- "select": "docId,title,description",
- "skip": 0,
- "top": 10
- }
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 25,
- "@search.facets": {
- "category": [
- {
- "count": 1,
- "value": "Economy"
- },
- {
- "count": 1,
- "value": "Luxury"
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06",
+ "searchRequest": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 0,
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
+ },
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "@search.nextPageParameters": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 2,
+ "top": 8
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
},
- "@search.nextPageParameters": {
- "count": true,
- "facets": [ "category,count:10,sort:count" ],
- "filter": "rating gt 4.0",
- "highlight": "title",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": null,
- "orderby": "search.score() desc,rating desc",
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": "title,description",
- "searchMode": "any",
- "select": "docId,title,description",
- "skip": 2,
- "top": 8
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
},
- "value": [
- {
- "@search.score": 1.50,
- "@search.highlights": {
- "title": [ "Nice Hotel" ]
- },
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.score": 0.70,
- "@search.highlights": {
- "title": [ "Fancy Hotel" ]
- },
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ],
- "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2019-05-06"
- }
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ],
+ "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2019-05-06"
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsGet.json
index 24e774eb4f8b..5d2d457eb0c9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsGet.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsGet.json
@@ -1,39 +1,48 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06",
- "$filter": "rating gt 10",
- "fuzzy": false,
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "$orderby": ["search.score() desc", "rating desc"],
- "search": "hote",
- "searchFields": ["title"],
- "suggesterName": "sg",
- "$select": ["docId", "title", "description"],
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "@search.text": "Nice Hotel",
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.text": "Fancy Hotel",
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ]
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06",
+ "$filter": "rating gt 10",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "search": "hote",
+ "searchFields": [
+ "title"
+ ],
+ "suggesterName": "sg",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
}
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsPost.json
index 7082288d4fdc..dc5b8a4b7bf7 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsPost.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/examples/SearchIndexSuggestDocumentsPost.json
@@ -1,39 +1,39 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06",
- "suggestRequest": {
- "filter": "rating gt 4.0",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "orderby": "rating desc",
- "search": "hote",
- "searchFields": "title",
- "select": "docId,title,description",
- "top": 10
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06",
+ "suggestRequest": {
+ "filter": "rating gt 4.0",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "orderby": "rating desc",
+ "search": "hote",
+ "searchFields": "title",
+ "select": "docId,title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
}
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "@search.text": "Nice Hotel",
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.text": "Fancy Hotel",
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
index 62bca7fbb0f7..033e280ba681 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
@@ -41,7 +41,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/Count-Documents"
},
"x-ms-examples": {
- "SearchIndexCountDocuments": { "$ref": "./examples/SearchIndexCountDocuments.json" }
+ "SearchIndexCountDocuments": {
+ "$ref": "./examples/SearchIndexCountDocuments.json"
+ }
},
"description": "Queries the number of documents in the Azure Search index.",
"parameters": [
@@ -74,7 +76,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
},
"x-ms-examples": {
- "SearchIndexSearchDocumentsGet": { "$ref": "./examples/SearchIndexSearchDocumentsGet.json" }
+ "SearchIndexSearchDocumentsGet": {
+ "$ref": "./examples/SearchIndexSearchDocumentsGet.json"
+ }
},
"description": "Searches for documents in the Azure Search index.",
"parameters": [
@@ -182,8 +186,8 @@
"full"
],
"x-ms-enum": {
- "name": "QueryType",
- "modelAsString": false
+ "name": "QueryType",
+ "modelAsString": false
},
"x-nullable": false,
"description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.",
@@ -235,8 +239,8 @@
"all"
],
"x-ms-enum": {
- "name": "SearchMode",
- "modelAsString": false
+ "name": "SearchMode",
+ "modelAsString": false
},
"x-nullable": false,
"description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.",
@@ -304,7 +308,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
},
"x-ms-examples": {
- "SearchIndexSearchDocumentsPost": { "$ref": "./examples/SearchIndexSearchDocumentsPost.json" }
+ "SearchIndexSearchDocumentsPost": {
+ "$ref": "./examples/SearchIndexSearchDocumentsPost.json"
+ }
},
"description": "Searches for documents in the Azure Search index.",
"parameters": [
@@ -346,7 +352,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/lookup-document"
},
"x-ms-examples": {
- "SearchIndexGetDocument": { "$ref": "./examples/SearchIndexGetDocument.json" }
+ "SearchIndexGetDocument": {
+ "$ref": "./examples/SearchIndexGetDocument.json"
+ }
},
"description": "Retrieves a document from the Azure Search index.",
"parameters": [
@@ -394,7 +402,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
},
"x-ms-examples": {
- "SearchIndexSuggestDocumentsGet": { "$ref": "./examples/SearchIndexSuggestDocumentsGet.json" }
+ "SearchIndexSuggestDocumentsGet": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsGet.json"
+ }
},
"description": "Suggests documents in the Azure Search index that match the given partial query text.",
"parameters": [
@@ -536,7 +546,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
},
"x-ms-examples": {
- "SearchIndexSuggestDocumentsPost": { "$ref": "./examples/SearchIndexSuggestDocumentsPost.json" }
+ "SearchIndexSuggestDocumentsPost": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsPost.json"
+ }
},
"description": "Suggests documents in the Azure Search index that match the given partial query text.",
"parameters": [
@@ -577,7 +589,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/addupdate-or-delete-documents"
},
"x-ms-examples": {
- "SearchIndexIndexDocuments": { "$ref": "./examples/SearchIndexIndexDocuments.json" }
+ "SearchIndexIndexDocuments": {
+ "$ref": "./examples/SearchIndexIndexDocuments.json"
+ }
},
"description": "Sends a batch of document write actions to the Azure Search index.",
"parameters": [
@@ -624,7 +638,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
},
"x-ms-examples": {
- "SearchIndexAutocompleteDocumentsGet": { "$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json" }
+ "SearchIndexAutocompleteDocumentsGet": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json"
+ }
},
"description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
"parameters": [
@@ -660,8 +676,8 @@
"oneTermWithContext"
],
"x-ms-enum": {
- "name": "AutocompleteMode",
- "modelAsString": false
+ "name": "AutocompleteMode",
+ "modelAsString": false
},
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms.",
"x-ms-parameter-grouping": {
@@ -744,7 +760,7 @@
"description": "",
"schema": {
"$ref": "#/definitions/AutocompleteResult",
- "description": "The result of Autocomplete query."
+ "description": "The result of Autocomplete query."
}
}
}
@@ -760,7 +776,9 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
},
"x-ms-examples": {
- "SearchIndexAutocompleteDocumentsPost": { "$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json" }
+ "SearchIndexAutocompleteDocumentsPost": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json"
+ }
},
"description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
"parameters": [
@@ -786,7 +804,7 @@
"description": "",
"schema": {
"$ref": "#/definitions/AutocompleteResult",
- "description": "The result of Autocomplete query."
+ "description": "The result of Autocomplete query."
}
}
}
@@ -893,29 +911,29 @@
},
"SearchResult": {
"properties": {
- "@search.score": {
- "type": "number",
- "format": "double",
- "readOnly": true,
- "x-ms-client-name": "Score",
- "x-nullable": false,
- "description": "The relevance score of the document compared to other documents returned by the query."
- },
- "@search.highlights": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "readOnly": true,
- "x-ms-client-name": "Highlights",
- "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
- }
- },
- "additionalProperties": true,
- "description": "Contains a document found by a search query, plus associated metadata."
+ "@search.score": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "x-ms-client-name": "Score",
+ "x-nullable": false,
+ "description": "The relevance score of the document compared to other documents returned by the query."
+ },
+ "@search.highlights": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Highlights",
+ "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
+ }
+ },
+ "additionalProperties": true,
+ "description": "Contains a document found by a search query, plus associated metadata."
},
"IndexBatch": {
"properties": {
@@ -928,7 +946,9 @@
"x-ms-client-name": "Actions"
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Contains a batch of document write actions to send to the Azure Search index."
},
"IndexAction": {
@@ -941,7 +961,9 @@
"mergeOrUpload",
"delete"
],
- "x-ms-enum": { "name": "IndexActionType" },
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
"x-ms-client-name": "ActionType",
"x-nullable": false,
"description": "The operation to perform on a document in an indexing batch."
@@ -984,7 +1006,7 @@
"value": {
"x-ms-client-name": "Results",
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/IndexingResult"
},
@@ -1026,7 +1048,7 @@
],
"x-ms-enum": {
"name": "AutocompleteMode",
- "modelAsString" : false
+ "modelAsString": false
},
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms."
},
@@ -1231,11 +1253,11 @@
},
"description": "Parameters for fuzzy matching, and other autocomplete query behaviors."
},
- "AutocompleteResult" : {
- "properties": {
+ "AutocompleteResult": {
+ "properties": {
"value": {
"type": "array",
- "readOnly": true,
+ "readOnly": true,
"items": {
"$ref": "#/definitions/AutocompleteItem"
},
@@ -1243,7 +1265,7 @@
"x-ms-client-name": "Results"
}
},
- "description": "The result of Autocomplete query."
+ "description": "The result of Autocomplete query."
},
"AutocompleteItem": {
"properties": {
@@ -1277,7 +1299,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" },
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
"x-ms-parameter-location": "method"
},
"SearchServiceNameParameter": {
@@ -1309,4 +1333,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28-preview/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28-preview/searchservice.json
index c1ab034caf9a..f1ff893c0c15 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28-preview/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28-preview/searchservice.json
@@ -50,7 +50,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -58,7 +60,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -66,7 +70,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -113,7 +119,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -121,7 +129,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -129,7 +139,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -170,7 +182,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -206,7 +220,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -249,7 +265,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -292,7 +310,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -332,7 +352,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -381,7 +403,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -389,7 +413,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -397,7 +423,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -444,7 +472,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -452,7 +482,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -460,7 +492,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -501,7 +535,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -537,7 +573,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -580,7 +618,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -623,7 +663,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -668,7 +710,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -709,7 +753,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -768,7 +814,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -776,7 +824,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -784,7 +834,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -831,7 +883,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -839,7 +893,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -847,7 +903,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -888,7 +946,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -931,7 +991,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -983,7 +1045,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -1157,7 +1221,8 @@
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for analyzers."
},
@@ -1289,7 +1354,8 @@
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for tokenizers.",
"externalDocs": {
@@ -1389,7 +1455,7 @@
},
"x-ms-external": true
},
- "KeywordTokenizerV2": {
+ "KeywordTokenizerV2": {
"x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizerV2",
"allOf": [
{
@@ -1807,7 +1873,8 @@
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for token filters.",
"externalDocs": {
@@ -2072,7 +2139,7 @@
},
"description": "The list of words to keep."
},
- "keepWordsCase" : {
+ "keepWordsCase": {
"x-ms-client-name": "LowerCaseKeepWords",
"type": "boolean",
"default": false,
@@ -2764,7 +2831,8 @@
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for character filters.",
"externalDocs": {
@@ -2964,14 +3032,17 @@
"$ref": "#/definitions/DataDeletionDetectionPolicy",
"description": "The data deletion detection policy for the datasource."
},
- "@odata.etag": {
+ "@odata.etag": {
"x-ms-client-name": "ETag",
"type": "string",
"description": "The ETag of the DataSource."
}
},
"required": [
- "name", "type", "credentials", "container"
+ "name",
+ "type",
+ "credentials",
+ "container"
],
"description": "Represents a datasource definition in Azure Search, which can be used to configure an indexer."
},
@@ -3132,14 +3203,16 @@
"default": false,
"description": "A value indicating whether the indexer is disabled. Default is false."
},
- "@odata.etag": {
+ "@odata.etag": {
"x-ms-client-name": "ETag",
"type": "string",
"description": "The ETag of the Indexer."
}
},
"required": [
- "name", "dataSourceName", "targetIndexName"
+ "name",
+ "dataSourceName",
+ "targetIndexName"
],
"externalDocs": {
"url": "https://msdn.microsoft.com/library/azure/dn946891.aspx"
@@ -3243,7 +3316,9 @@
"inProgress",
"reset"
],
- "x-ms-enum": { "name": "IndexerExecutionStatus" },
+ "x-ms-enum": {
+ "name": "IndexerExecutionStatus"
+ },
"description": "Represents the status of an individual indexer execution."
},
"IndexerExecutionInfo": {
@@ -3277,7 +3352,9 @@
"error",
"running"
],
- "x-ms-enum": { "name": "IndexerStatus" },
+ "x-ms-enum": {
+ "name": "IndexerStatus"
+ },
"description": "Represents the overall indexer status."
},
"Field": {
@@ -3346,7 +3423,8 @@
}
},
"required": [
- "name", "type"
+ "name",
+ "type"
],
"externalDocs": {
"url": "https://msdn.microsoft.com/library/azure/dn798941.aspx"
@@ -3392,7 +3470,9 @@
}
},
"required": [
- "type", "fieldName", "boost"
+ "type",
+ "fieldName",
+ "boost"
],
"externalDocs": {
"url": "https://msdn.microsoft.com/library/azure/dn798928.aspx"
@@ -3434,7 +3514,8 @@
}
},
"required": [
- "referencePointParameter", "boostingDistance"
+ "referencePointParameter",
+ "boostingDistance"
],
"description": "Provides parameter values to a distance scoring function."
},
@@ -3514,7 +3595,8 @@
}
},
"required": [
- "boostingRangeStart", "boostingRangeEnd"
+ "boostingRangeStart",
+ "boostingRangeEnd"
],
"description": "Provides parameter values to a magnitude scoring function."
},
@@ -3560,7 +3642,9 @@
"quadratic",
"logarithmic"
],
- "x-ms-enum": { "name": "ScoringFunctionInterpolation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionInterpolation"
+ },
"description": "Defines the function used to interpolate score boosting across a range of documents."
},
"ScoringProfile": {
@@ -3606,7 +3690,9 @@
"maximum",
"firstMatching"
],
- "x-ms-enum": { "name": "ScoringFunctionAggregation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionAggregation"
+ },
"description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile."
},
"CorsOptions": {
@@ -3651,7 +3737,9 @@
}
},
"required": [
- "name", "searchMode", "sourceFields"
+ "name",
+ "searchMode",
+ "sourceFields"
],
"description": "Defines how the Suggest API should apply to a group of fields in the index."
},
@@ -3660,7 +3748,9 @@
"enum": [
"analyzingInfixMatching"
],
- "x-ms-enum": { "name": "SuggesterSearchMode" },
+ "x-ms-enum": {
+ "name": "SuggesterSearchMode"
+ },
"description": "Describes the type of suggester to use."
},
"Index": {
@@ -3748,7 +3838,8 @@
}
},
"required": [
- "name", "fields"
+ "name",
+ "fields"
],
"description": "Represents an index definition in Azure Search, which describes the fields and search behavior of an index."
},
@@ -3794,4 +3885,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28/searchservice.json
index 82229b7aa31b..1984d8651ac6 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2015-02-28/searchservice.json
@@ -47,7 +47,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -94,7 +96,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -135,7 +139,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -171,7 +177,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -214,7 +222,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -257,7 +267,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -297,7 +309,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -346,7 +360,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -393,7 +409,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -434,7 +452,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -470,7 +490,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -513,7 +535,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -556,7 +580,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -601,7 +627,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -642,7 +670,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -694,7 +724,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -741,7 +773,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -782,7 +816,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -825,7 +861,9 @@
"format": "uuid",
"description": "Tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -980,7 +1018,10 @@
}
},
"required": [
- "name", "type", "credentials", "container"
+ "name",
+ "type",
+ "credentials",
+ "container"
],
"description": "Represents a datasource definition in Azure Search, which can be used to configure an indexer."
},
@@ -1067,7 +1108,9 @@
}
},
"required": [
- "name", "dataSourceName", "targetIndexName"
+ "name",
+ "dataSourceName",
+ "targetIndexName"
],
"externalDocs": {
"url": "https://msdn.microsoft.com/library/azure/dn946891.aspx"
@@ -1169,7 +1212,9 @@
"inProgress",
"reset"
],
- "x-ms-enum": { "name": "IndexerExecutionStatus" },
+ "x-ms-enum": {
+ "name": "IndexerExecutionStatus"
+ },
"description": "Represents the status of an individual indexer execution."
},
"IndexerExecutionInfo": {
@@ -1203,7 +1248,9 @@
"error",
"running"
],
- "x-ms-enum": { "name": "IndexerStatus" },
+ "x-ms-enum": {
+ "name": "IndexerStatus"
+ },
"description": "Represents the overall indexer status."
},
"Field": {
@@ -1252,7 +1299,8 @@
}
},
"required": [
- "name", "type"
+ "name",
+ "type"
],
"externalDocs": {
"url": "https://msdn.microsoft.com/library/azure/dn798941.aspx"
@@ -1298,7 +1346,9 @@
}
},
"required": [
- "type", "fieldName", "boost"
+ "type",
+ "fieldName",
+ "boost"
],
"externalDocs": {
"url": "https://msdn.microsoft.com/library/azure/dn798928.aspx"
@@ -1341,7 +1391,8 @@
}
},
"required": [
- "referencePointParameter", "boostingDistance"
+ "referencePointParameter",
+ "boostingDistance"
],
"description": "Provides parameter values to a distance scoring function.",
"x-ms-external": true
@@ -1422,7 +1473,8 @@
}
},
"required": [
- "boostingRangeStart", "boostingRangeEnd"
+ "boostingRangeStart",
+ "boostingRangeEnd"
],
"description": "Provides parameter values to a magnitude scoring function.",
"x-ms-external": true
@@ -1469,7 +1521,9 @@
"quadratic",
"logarithmic"
],
- "x-ms-enum": { "name": "ScoringFunctionInterpolation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionInterpolation"
+ },
"description": "Defines the function used to interpolate score boosting across a range of documents."
},
"ScoringProfile": {
@@ -1515,7 +1569,9 @@
"maximum",
"firstMatching"
],
- "x-ms-enum": { "name": "ScoringFunctionAggregation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionAggregation"
+ },
"description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile."
},
"CorsOptions": {
@@ -1560,7 +1616,9 @@
}
},
"required": [
- "name", "searchMode", "sourceFields"
+ "name",
+ "searchMode",
+ "sourceFields"
],
"description": "Defines how the Suggest API should apply to a group of fields in the index.",
"x-ms-external": true
@@ -1570,7 +1628,9 @@
"enum": [
"analyzingInfixMatching"
],
- "x-ms-enum": { "name": "SuggesterSearchMode" },
+ "x-ms-enum": {
+ "name": "SuggesterSearchMode"
+ },
"description": "Describes the type of suggester to use."
},
"Index": {
@@ -1613,7 +1673,8 @@
}
},
"required": [
- "name", "fields"
+ "name",
+ "fields"
],
"description": "Represents an index definition in Azure Search, which describes the fields and search behavior of an index."
},
@@ -1659,4 +1720,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateDataSource.json
index a427d8f789ef..cdf9ac2c2978 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateDataSource.json
@@ -1,53 +1,53 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndex.json
index 967eabbd35b4..63e043844765 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndex.json
@@ -1,346 +1,346 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
}
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndexer.json
index 39b8e743472d..432b75802e2c 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateIndexer.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json
index 289a7ba85b3a..4fc5d0c2fc25 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json
@@ -1,78 +1,78 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2016-09-01-Preview",
- "Prefer": "return=representation",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2016-09-01-Preview",
+ "Prefer": "return=representation",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
},
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndex.json
index 34c231e665c7..333d8795f0f7 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndex.json
@@ -1,575 +1,575 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "allowIndexDowntime": false,
- "api-version": "2016-09-01-Preview",
- "Prefer": "return=representation",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "allowIndexDowntime": false,
+ "api-version": "2016-09-01-Preview",
+ "Prefer": "return=representation",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
- },
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json
index 8363e1fe7320..0babb4875f9b 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json
@@ -1,61 +1,61 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2016-09-01-Preview",
- "Prefer": "return=representation",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2016-09-01-Preview",
+ "Prefer": "return=representation",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
},
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
index 56eeba2c107e..27fec54c1302 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -1,30 +1,30 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2016-09-01-Preview",
- "Prefer": "return=representation",
- "synonymMap": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2016-09-01-Preview",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
},
- "responses": {
- "200": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- },
- "201": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateSynonymMap.json
index 180114713d8b..e0d0c3148b04 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceCreateSynonymMap.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview",
- "synonymMap": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- },
- "responses": {
- "201": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteDataSource.json
index 8c4f24f6ae12..80781ad673fd 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteDataSource.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndex.json
index 85028873131d..8d79d513edf9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndex.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndexer.json
index 06f73ae95633..969c3f4b15fb 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteIndexer.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteSynonymMap.json
index c272e32ab829..0a00220b4240 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceDeleteSynonymMap.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetDataSource.json
index 9f0a5fd2ff62..c27359947661 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetDataSource.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndex.json
index 354184540e69..9c069b542881 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndex.json
@@ -1,236 +1,236 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexStatistics.json
index 200f085a5dab..b8cc9efb2446 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexStatistics.json
@@ -1,16 +1,16 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "documentCount": 239572,
- "storageSize": 72375920
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "documentCount": 239572,
+ "storageSize": 72375920
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexer.json
index c050d857e3be..c2a0060045c0 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexer.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexerStatus.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexerStatus.json
index a088d64733e1..cce7b7fd2267 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexerStatus.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetIndexerStatus.json
@@ -1,65 +1,65 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "status": "running",
- "lastResult": {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- "executionHistory": [
- {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- {
- "status": "transientFailure",
- "errorMessage": null,
- "startTime": "2014-11-26T03:28:10.125Z",
- "endTime": "2014-11-26T03:28:12.007Z",
- "errors": [
- {
- "key": "",
- "status": false,
- "errorMessage": "Document key cannot be missing or empty.",
- "statusCode": 400
- }
- ],
- "warnings": [
- {
- "key": "document id",
- "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
- }
- ],
- "itemsProcessed": 1,
- "itemsFailed": 1,
- "initialTrackingState": null,
- "finalTrackingState": null
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "running",
+ "lastResult": {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ "executionHistory": [
+ {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ {
+ "status": "transientFailure",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:28:10.125Z",
+ "endTime": "2014-11-26T03:28:12.007Z",
+ "errors": [
+ {
+ "key": "",
+ "status": false,
+ "errorMessage": "Document key cannot be missing or empty.",
+ "statusCode": 400
+ }
+ ],
+ "warnings": [
+ {
+ "key": "document id",
+ "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
+ }
+ ],
+ "itemsProcessed": 1,
+ "itemsFailed": 1,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetServiceStatistics.json
index 608b100f424f..b95d7cea1686 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetServiceStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetServiceStatistics.json
@@ -1,44 +1,44 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "counters": {
- "documentCount": {
- "usage": 7093,
- "quota": 10000
- },
- "indexesCount": {
- "usage": 3,
- "quota": 3
- },
- "indexersCount": {
- "usage": 3,
- "quota": 3
- },
- "dataSourcesCount": {
- "usage": 1,
- "quota": 3
- },
- "storageSize": {
- "usage": 914529,
- "quota": 52428800
- },
- "synonymMaps": {
- "usage": 2,
- "quota": 3
- }
- },
- "limits": {
- "maxFieldsPerIndex": 1000,
- "maxFieldNestingDepthPerIndex": 10,
- "maxComplexCollectionFieldsPerIndex": 100
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "counters": {
+ "documentCount": {
+ "usage": 7093,
+ "quota": 10000
+ },
+ "indexesCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "indexersCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "dataSourcesCount": {
+ "usage": 1,
+ "quota": 3
+ },
+ "storageSize": {
+ "usage": 914529,
+ "quota": 52428800
+ },
+ "synonymMaps": {
+ "usage": 2,
+ "quota": 3
+ }
+ },
+ "limits": {
+ "maxFieldsPerIndex": 1000,
+ "maxFieldNestingDepthPerIndex": 10,
+ "maxComplexCollectionFieldsPerIndex": 100
}
+ }
}
+ }
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetSynonymMap.json
index e828ba3a5d29..140b93a7ca5b 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceGetSynonymMap.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceIndexAnalyze.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceIndexAnalyze.json
index b50282b23635..8fbb3df20b65 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceIndexAnalyze.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceIndexAnalyze.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2016-09-01-Preview",
- "request": {
- "text": "Text to analyze",
- "analyzer": "standard"
- }
- },
- "responses": {
- "200": {
- "body": {
- "tokens": [
- {
- "token": "text",
- "startOffset": 0,
- "endOffset": 4,
- "position": 0
- },
- {
- "token": "to",
- "startOffset": 5,
- "endOffset": 7,
- "position": 1
- },
- {
- "token": "analyze",
- "startOffset": 8,
- "endOffset": 15,
- "position": 2
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2016-09-01-Preview",
+ "request": {
+ "text": "Text to analyze",
+ "analyzer": "standard"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tokens": [
+ {
+ "token": "text",
+ "startOffset": 0,
+ "endOffset": 4,
+ "position": 0
+ },
+ {
+ "token": "to",
+ "startOffset": 5,
+ "endOffset": 7,
+ "position": 1
+ },
+ {
+ "token": "analyze",
+ "startOffset": 8,
+ "endOffset": 15,
+ "position": 2
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListDataSources.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListDataSources.json
index c24518a96c3c..dd3eaf152dba 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListDataSources.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListDataSources.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- },
- {
- "name": "myblobdatasource",
- "description": "My Azure Blob data source.",
- "type": "azureblob",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "mycontainer"
- },
- "dataChangeDetectionPolicy": null,
- "dataDeletionDetectionPolicy": null
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
- }
+ },
+ {
+ "name": "myblobdatasource",
+ "description": "My Azure Blob data source.",
+ "type": "azureblob",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "mycontainer"
+ },
+ "dataChangeDetectionPolicy": null,
+ "dataDeletionDetectionPolicy": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexers.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexers.json
index afde9a5901c7..c644120ddef5 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexers.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexers.json
@@ -1,67 +1,67 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydocdbdatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- },
- {
- "name": "myotherindexer",
- "description": "another cool indexer",
- "dataSourceName": "myblobdatasource",
- "targetIndexName": "orders",
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5,
- "batchSize": 15
- },
- "fieldMappings": [
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "FirstName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 0
- }
- }
- },
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "LastName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 1
- }
- }
- }
- ],
- "disabled": false
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydocdbdatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ },
+ {
+ "name": "myotherindexer",
+ "description": "another cool indexer",
+ "dataSourceName": "myblobdatasource",
+ "targetIndexName": "orders",
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5,
+ "batchSize": 15
+ },
+ "fieldMappings": [
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "FirstName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 0
+ }
+ }
+ },
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "LastName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 1
+ }
+ }
+ }
+ ],
+ "disabled": false
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexes.json
index 4629f7fc7439..6d5de1e66744 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexes.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListIndexes.json
@@ -1,281 +1,281 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "$select": "name",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
- },
- {
- "name": "testindex",
- "fields": [
- {
- "name": "id",
- "type": "Edm.String",
- "searchable": false,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "hidden",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": false,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [],
- "defaultScoringProfile": null,
- "suggesters": [],
- "analyzers": [],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": null
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "name",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
- }
+ },
+ {
+ "name": "testindex",
+ "fields": [
+ {
+ "name": "id",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "hidden",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": false,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [],
+ "defaultScoringProfile": null,
+ "suggesters": [],
+ "analyzers": [],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListSynonymMaps.json
index fc9fa914caf7..4e1f888ce4f3 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListSynonymMaps.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceListSynonymMaps.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- },
- {
- "name" : "myothersynonymmap",
- "format" : "solr",
- "synonyms" : "couch, sofa, chesterfield\npop, soda\ntoque, hat"
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceResetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceResetIndexer.json
index 0f2c82d02599..bfa96d6c35c1 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceResetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceResetIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "204": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceRunIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceRunIndexer.json
index 5d0090f43038..40602e406d07 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceRunIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/examples/SearchServiceRunIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2016-09-01-Preview"
- },
- "responses": {
- "202": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2016-09-01-Preview"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/searchservice.json
index 472fe4b6f6e3..4720cbed7093 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01-preview/searchservice.json
@@ -34,7 +34,9 @@
],
"operationId": "DataSources_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateDataSource": { "$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json" }
+ "SearchServiceCreateOrUpdateDataSource": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json"
+ }
},
"description": "Creates a new Azure Search datasource or updates a datasource if it already exists.",
"externalDocs": {
@@ -95,7 +97,9 @@
],
"operationId": "DataSources_Delete",
"x-ms-examples": {
- "SearchServiceDeleteDataSource": { "$ref": "./examples/SearchServiceDeleteDataSource.json" }
+ "SearchServiceDeleteDataSource": {
+ "$ref": "./examples/SearchServiceDeleteDataSource.json"
+ }
},
"description": "Deletes an Azure Search datasource.",
"externalDocs": {
@@ -138,7 +142,9 @@
],
"operationId": "DataSources_Get",
"x-ms-examples": {
- "SearchServiceGetDataSource": { "$ref": "./examples/SearchServiceGetDataSource.json" }
+ "SearchServiceGetDataSource": {
+ "$ref": "./examples/SearchServiceGetDataSource.json"
+ }
},
"description": "Retrieves a datasource definition from Azure Search.",
"externalDocs": {
@@ -177,7 +183,9 @@
],
"operationId": "DataSources_List",
"x-ms-examples": {
- "SearchServiceListDataSources": { "$ref": "./examples/SearchServiceListDataSources.json" }
+ "SearchServiceListDataSources": {
+ "$ref": "./examples/SearchServiceListDataSources.json"
+ }
},
"description": "Lists all datasources available for an Azure Search service.",
"externalDocs": {
@@ -207,7 +215,9 @@
],
"operationId": "DataSources_Create",
"x-ms-examples": {
- "SearchServiceCreateDataSource": { "$ref": "./examples/SearchServiceCreateDataSource.json" }
+ "SearchServiceCreateDataSource": {
+ "$ref": "./examples/SearchServiceCreateDataSource.json"
+ }
},
"description": "Creates a new Azure Search datasource.",
"externalDocs": {
@@ -248,7 +258,9 @@
],
"operationId": "Indexers_Reset",
"x-ms-examples": {
- "SearchServiceResetIndexer": { "$ref": "./examples/SearchServiceResetIndexer.json" }
+ "SearchServiceResetIndexer": {
+ "$ref": "./examples/SearchServiceResetIndexer.json"
+ }
},
"description": "Resets the change tracking state associated with an Azure Search indexer.",
"externalDocs": {
@@ -284,7 +296,9 @@
],
"operationId": "Indexers_Run",
"x-ms-examples": {
- "SearchServiceRunIndexer": { "$ref": "./examples/SearchServiceRunIndexer.json" }
+ "SearchServiceRunIndexer": {
+ "$ref": "./examples/SearchServiceRunIndexer.json"
+ }
},
"description": "Runs an Azure Search indexer on-demand.",
"externalDocs": {
@@ -320,7 +334,9 @@
],
"operationId": "Indexers_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateIndexer": { "$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json" }
+ "SearchServiceCreateOrUpdateIndexer": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json"
+ }
},
"description": "Creates a new Azure Search indexer or updates an indexer if it already exists.",
"externalDocs": {
@@ -381,7 +397,9 @@
],
"operationId": "Indexers_Delete",
"x-ms-examples": {
- "SearchServiceDeleteIndexer": { "$ref": "./examples/SearchServiceDeleteIndexer.json" }
+ "SearchServiceDeleteIndexer": {
+ "$ref": "./examples/SearchServiceDeleteIndexer.json"
+ }
},
"description": "Deletes an Azure Search indexer.",
"externalDocs": {
@@ -424,7 +442,9 @@
],
"operationId": "Indexers_Get",
"x-ms-examples": {
- "SearchServiceGetIndexer": { "$ref": "./examples/SearchServiceGetIndexer.json" }
+ "SearchServiceGetIndexer": {
+ "$ref": "./examples/SearchServiceGetIndexer.json"
+ }
},
"description": "Retrieves an indexer definition from Azure Search.",
"externalDocs": {
@@ -463,7 +483,9 @@
],
"operationId": "Indexers_List",
"x-ms-examples": {
- "SearchServiceListIndexers": { "$ref": "./examples/SearchServiceListIndexers.json" }
+ "SearchServiceListIndexers": {
+ "$ref": "./examples/SearchServiceListIndexers.json"
+ }
},
"description": "Lists all indexers available for an Azure Search service.",
"externalDocs": {
@@ -493,7 +515,9 @@
],
"operationId": "Indexers_Create",
"x-ms-examples": {
- "SearchServiceCreateIndexer": { "$ref": "./examples/SearchServiceCreateIndexer.json" }
+ "SearchServiceCreateIndexer": {
+ "$ref": "./examples/SearchServiceCreateIndexer.json"
+ }
},
"description": "Creates a new Azure Search indexer.",
"externalDocs": {
@@ -534,7 +558,9 @@
],
"operationId": "Indexers_GetStatus",
"x-ms-examples": {
- "SearchServiceGetIndexerStatus": { "$ref": "./examples/SearchServiceGetIndexerStatus.json" }
+ "SearchServiceGetIndexerStatus": {
+ "$ref": "./examples/SearchServiceGetIndexerStatus.json"
+ }
},
"description": "Returns the current status and execution history of an indexer.",
"externalDocs": {
@@ -573,7 +599,9 @@
],
"operationId": "SynonymMaps_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateSynonymMap": { "$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json" }
+ "SearchServiceCreateOrUpdateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json"
+ }
},
"description": "Creates a new Azure Search synonym map or updates a synonym map if it already exists.",
"externalDocs": {
@@ -634,7 +662,9 @@
],
"operationId": "SynonymMaps_Delete",
"x-ms-examples": {
- "SearchServiceDeleteSynonymMap": { "$ref": "./examples/SearchServiceDeleteSynonymMap.json" }
+ "SearchServiceDeleteSynonymMap": {
+ "$ref": "./examples/SearchServiceDeleteSynonymMap.json"
+ }
},
"description": "Deletes an Azure Search synonym map.",
"externalDocs": {
@@ -677,7 +707,9 @@
],
"operationId": "SynonymMaps_Get",
"x-ms-examples": {
- "SearchServiceGetSynonymMap": { "$ref": "./examples/SearchServiceGetSynonymMap.json" }
+ "SearchServiceGetSynonymMap": {
+ "$ref": "./examples/SearchServiceGetSynonymMap.json"
+ }
},
"description": "Retrieves a synonym map definition from Azure Search.",
"externalDocs": {
@@ -716,7 +748,9 @@
],
"operationId": "SynonymMaps_List",
"x-ms-examples": {
- "SearchServiceListSynonymMaps": { "$ref": "./examples/SearchServiceListSynonymMaps.json" }
+ "SearchServiceListSynonymMaps": {
+ "$ref": "./examples/SearchServiceListSynonymMaps.json"
+ }
},
"description": "Lists all synonym maps available for an Azure Search service.",
"externalDocs": {
@@ -746,7 +780,9 @@
],
"operationId": "SynonymMaps_Create",
"x-ms-examples": {
- "SearchServiceCreateSynonymMap": { "$ref": "./examples/SearchServiceCreateSynonymMap.json" }
+ "SearchServiceCreateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateSynonymMap.json"
+ }
},
"description": "Creates a new Azure Search synonym map.",
"externalDocs": {
@@ -787,7 +823,9 @@
],
"operationId": "Indexes_Create",
"x-ms-examples": {
- "SearchServiceCreateIndex": { "$ref": "./examples/SearchServiceCreateIndex.json" }
+ "SearchServiceCreateIndex": {
+ "$ref": "./examples/SearchServiceCreateIndex.json"
+ }
},
"description": "Creates a new Azure Search index.",
"externalDocs": {
@@ -826,7 +864,9 @@
],
"operationId": "Indexes_List",
"x-ms-examples": {
- "SearchServiceListIndexes": { "$ref": "./examples/SearchServiceListIndexes.json" }
+ "SearchServiceListIndexes": {
+ "$ref": "./examples/SearchServiceListIndexes.json"
+ }
},
"description": "Lists all indexes available for an Azure Search service.",
"externalDocs": {
@@ -865,7 +905,9 @@
],
"operationId": "Indexes_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateIndex": { "$ref": "./examples/SearchServiceCreateOrUpdateIndex.json" }
+ "SearchServiceCreateOrUpdateIndex": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndex.json"
+ }
},
"description": "Creates a new Azure Search index or updates an index if it already exists.",
"externalDocs": {
@@ -933,7 +975,9 @@
],
"operationId": "Indexes_Delete",
"x-ms-examples": {
- "SearchServiceDeleteIndex": { "$ref": "./examples/SearchServiceDeleteIndex.json" }
+ "SearchServiceDeleteIndex": {
+ "$ref": "./examples/SearchServiceDeleteIndex.json"
+ }
},
"description": "Deletes an Azure Search index and all the documents it contains.",
"externalDocs": {
@@ -976,7 +1020,9 @@
],
"operationId": "Indexes_Get",
"x-ms-examples": {
- "SearchServiceGetIndex": { "$ref": "./examples/SearchServiceGetIndex.json" }
+ "SearchServiceGetIndex": {
+ "$ref": "./examples/SearchServiceGetIndex.json"
+ }
},
"description": "Retrieves an index definition from Azure Search.",
"externalDocs": {
@@ -1015,7 +1061,9 @@
],
"operationId": "Indexes_GetStatistics",
"x-ms-examples": {
- "SearchServiceGetIndexStatistics": { "$ref": "./examples/SearchServiceGetIndexStatistics.json" }
+ "SearchServiceGetIndexStatistics": {
+ "$ref": "./examples/SearchServiceGetIndexStatistics.json"
+ }
},
"description": "Returns statistics for the given index, including a document count and storage usage.",
"externalDocs": {
@@ -1054,7 +1102,9 @@
],
"operationId": "Indexes_Analyze",
"x-ms-examples": {
- "SearchServiceIndexAnalyze": { "$ref": "./examples/SearchServiceIndexAnalyze.json" }
+ "SearchServiceIndexAnalyze": {
+ "$ref": "./examples/SearchServiceIndexAnalyze.json"
+ }
},
"description": "Shows how an analyzer breaks text into tokens.",
"externalDocs": {
@@ -1102,7 +1152,9 @@
],
"operationId": "GetServiceStatistics",
"x-ms-examples": {
- "SearchServiceGetServiceStatistics": { "$ref": "./examples/SearchServiceGetServiceStatistics.json" }
+ "SearchServiceGetServiceStatistics": {
+ "$ref": "./examples/SearchServiceGetServiceStatistics.json"
+ }
},
"description": "Gets service level statistics for an Azure Search service.",
"parameters": [
@@ -1277,14 +1329,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for analyzers."
},
@@ -1413,14 +1466,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for tokenizers.",
"externalDocs": {
@@ -1930,14 +1984,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for token filters.",
"externalDocs": {
@@ -2202,7 +2257,7 @@
},
"description": "The list of words to keep."
},
- "keepWordsCase" : {
+ "keepWordsCase": {
"x-ms-client-name": "LowerCaseKeepWords",
"type": "boolean",
"default": false,
@@ -2891,14 +2946,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the char filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for character filters.",
"externalDocs": {
@@ -3105,7 +3161,10 @@
}
},
"required": [
- "name", "type", "credentials", "container"
+ "name",
+ "type",
+ "credentials",
+ "container"
],
"description": "Represents a datasource definition in Azure Search, which can be used to configure an indexer."
},
@@ -3273,7 +3332,9 @@
}
},
"required": [
- "name", "dataSourceName", "targetIndexName"
+ "name",
+ "dataSourceName",
+ "targetIndexName"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Indexer-operations"
@@ -3401,7 +3462,9 @@
"inProgress",
"reset"
],
- "x-ms-enum": { "name": "IndexerExecutionStatus" },
+ "x-ms-enum": {
+ "name": "IndexerExecutionStatus"
+ },
"x-nullable": false,
"description": "Represents the status of an individual indexer execution."
},
@@ -3435,7 +3498,9 @@
"error",
"running"
],
- "x-ms-enum": { "name": "IndexerStatus" },
+ "x-ms-enum": {
+ "name": "IndexerStatus"
+ },
"x-nullable": false,
"description": "Represents the overall indexer status."
},
@@ -3522,7 +3587,8 @@
}
},
"required": [
- "name", "type"
+ "name",
+ "type"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
@@ -3568,7 +3634,9 @@
}
},
"required": [
- "type", "fieldName", "boost"
+ "type",
+ "fieldName",
+ "boost"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
@@ -3610,7 +3678,8 @@
}
},
"required": [
- "referencePointParameter", "boostingDistance"
+ "referencePointParameter",
+ "boostingDistance"
],
"description": "Provides parameter values to a distance scoring function."
},
@@ -3690,7 +3759,8 @@
}
},
"required": [
- "boostingRangeStart", "boostingRangeEnd"
+ "boostingRangeStart",
+ "boostingRangeEnd"
],
"description": "Provides parameter values to a magnitude scoring function."
},
@@ -3736,7 +3806,9 @@
"quadratic",
"logarithmic"
],
- "x-ms-enum": { "name": "ScoringFunctionInterpolation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionInterpolation"
+ },
"description": "Defines the function used to interpolate score boosting across a range of documents."
},
"ScoringProfile": {
@@ -3782,7 +3854,9 @@
"maximum",
"firstMatching"
],
- "x-ms-enum": { "name": "ScoringFunctionAggregation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionAggregation"
+ },
"description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile."
},
"CorsOptions": {
@@ -3830,7 +3904,9 @@
}
},
"required": [
- "name", "searchMode", "sourceFields"
+ "name",
+ "searchMode",
+ "sourceFields"
],
"description": "Defines how the Suggest API should apply to a group of fields in the index."
},
@@ -3919,7 +3995,8 @@
}
},
"required": [
- "name", "fields"
+ "name",
+ "fields"
],
"description": "Represents an index definition in Azure Search, which describes the fields and search behavior of an index."
},
@@ -3992,7 +4069,9 @@
}
},
"required": [
- "name", "format", "synonyms"
+ "name",
+ "format",
+ "synonyms"
],
"description": "Represents a synonym map definition in Azure Search."
},
@@ -4115,7 +4194,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" },
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
"x-ms-parameter-location": "method"
},
"IfMatchParameter": {
@@ -4124,7 +4205,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" },
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
"x-ms-parameter-location": "method"
},
"IfNoneMatchParameter": {
@@ -4133,7 +4216,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" },
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
"x-ms-parameter-location": "method"
},
"PreferHeaderParameter": {
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01/searchservice.json
index 51a9776801aa..88dc4d34bd47 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2016-09-01/searchservice.json
@@ -50,7 +50,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -58,7 +60,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -66,7 +70,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -113,7 +119,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -121,7 +129,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -129,7 +139,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -170,7 +182,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -206,7 +220,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -249,7 +265,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -292,7 +310,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -332,7 +352,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -381,7 +403,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -389,7 +413,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -397,7 +423,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -444,7 +472,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -452,7 +482,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -460,7 +492,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -501,7 +535,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -537,7 +573,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -580,7 +618,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -623,7 +663,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -668,7 +710,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -709,7 +753,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -768,7 +814,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -776,7 +824,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -784,7 +834,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -831,7 +883,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"name": "If-Match",
@@ -839,7 +893,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"name": "If-None-Match",
@@ -847,7 +903,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" }
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -888,7 +946,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -931,7 +991,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -983,7 +1045,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" }
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ }
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -1153,14 +1217,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for analyzers."
},
@@ -1289,14 +1354,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for tokenizers.",
"externalDocs": {
@@ -1396,7 +1462,7 @@
},
"x-ms-external": true
},
- "KeywordTokenizerV2": {
+ "KeywordTokenizerV2": {
"x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizerV2",
"allOf": [
{
@@ -1811,14 +1877,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for token filters.",
"externalDocs": {
@@ -2083,7 +2150,7 @@
},
"description": "The list of words to keep."
},
- "keepWordsCase" : {
+ "keepWordsCase": {
"x-ms-client-name": "LowerCaseKeepWords",
"type": "boolean",
"default": false,
@@ -2772,14 +2839,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the char filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for character filters.",
"externalDocs": {
@@ -2979,14 +3047,17 @@
"$ref": "#/definitions/DataDeletionDetectionPolicy",
"description": "The data deletion detection policy for the datasource."
},
- "@odata.etag": {
+ "@odata.etag": {
"x-ms-client-name": "ETag",
"type": "string",
"description": "The ETag of the DataSource."
}
},
"required": [
- "name", "type", "credentials", "container"
+ "name",
+ "type",
+ "credentials",
+ "container"
],
"description": "Represents a datasource definition in Azure Search, which can be used to configure an indexer."
},
@@ -3147,14 +3218,16 @@
"default": false,
"description": "A value indicating whether the indexer is disabled. Default is false."
},
- "@odata.etag": {
+ "@odata.etag": {
"x-ms-client-name": "ETag",
"type": "string",
"description": "The ETag of the Indexer."
}
},
"required": [
- "name", "dataSourceName", "targetIndexName"
+ "name",
+ "dataSourceName",
+ "targetIndexName"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Indexer-operations"
@@ -3258,7 +3331,9 @@
"inProgress",
"reset"
],
- "x-ms-enum": { "name": "IndexerExecutionStatus" },
+ "x-ms-enum": {
+ "name": "IndexerExecutionStatus"
+ },
"description": "Represents the status of an individual indexer execution."
},
"IndexerExecutionInfo": {
@@ -3292,7 +3367,9 @@
"error",
"running"
],
- "x-ms-enum": { "name": "IndexerStatus" },
+ "x-ms-enum": {
+ "name": "IndexerStatus"
+ },
"description": "Represents the overall indexer status."
},
"Field": {
@@ -3361,7 +3438,8 @@
}
},
"required": [
- "name", "type"
+ "name",
+ "type"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
@@ -3407,7 +3485,9 @@
}
},
"required": [
- "type", "fieldName", "boost"
+ "type",
+ "fieldName",
+ "boost"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
@@ -3449,7 +3529,8 @@
}
},
"required": [
- "referencePointParameter", "boostingDistance"
+ "referencePointParameter",
+ "boostingDistance"
],
"description": "Provides parameter values to a distance scoring function."
},
@@ -3529,7 +3610,8 @@
}
},
"required": [
- "boostingRangeStart", "boostingRangeEnd"
+ "boostingRangeStart",
+ "boostingRangeEnd"
],
"description": "Provides parameter values to a magnitude scoring function."
},
@@ -3575,7 +3657,9 @@
"quadratic",
"logarithmic"
],
- "x-ms-enum": { "name": "ScoringFunctionInterpolation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionInterpolation"
+ },
"description": "Defines the function used to interpolate score boosting across a range of documents."
},
"ScoringProfile": {
@@ -3621,7 +3705,9 @@
"maximum",
"firstMatching"
],
- "x-ms-enum": { "name": "ScoringFunctionAggregation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionAggregation"
+ },
"description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile."
},
"CorsOptions": {
@@ -3666,7 +3752,9 @@
}
},
"required": [
- "name", "searchMode", "sourceFields"
+ "name",
+ "searchMode",
+ "sourceFields"
],
"description": "Defines how the Suggest API should apply to a group of fields in the index."
},
@@ -3675,7 +3763,9 @@
"enum": [
"analyzingInfixMatching"
],
- "x-ms-enum": { "name": "SuggesterSearchMode" },
+ "x-ms-enum": {
+ "name": "SuggesterSearchMode"
+ },
"description": "Describes the type of suggester to use."
},
"Index": {
@@ -3763,7 +3853,8 @@
}
},
"required": [
- "name", "fields"
+ "name",
+ "fields"
],
"description": "Represents an index definition in Azure Search, which describes the fields and search behavior of an index."
},
@@ -3809,4 +3900,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateDataSource.json
index 30599dc68731..6489751effad 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateDataSource.json
@@ -1,53 +1,53 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndex.json
index 3ca4a33bc351..217d2f1c8dad 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndex.json
@@ -1,364 +1,364 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- },
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "myApplicationSecret"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
}
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myApplicationSecret"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- },
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndexer.json
index 879a9eb7232f..5a6c8af97048 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateIndexer.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateDataSource.json
index 7bc1b1569c37..14a21e9271ad 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateDataSource.json
@@ -1,78 +1,78 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2017-11-11-Preview",
- "Prefer": "return=representation",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2017-11-11-Preview",
+ "Prefer": "return=representation",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
},
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndex.json
index 0cf655cf83d0..86914afc2ff4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndex.json
@@ -1,593 +1,593 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "allowIndexDowntime": false,
- "api-version": "2017-11-11-Preview",
- "Prefer": "return=representation",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "allowIndexDowntime": false,
+ "api-version": "2017-11-11-Preview",
+ "Prefer": "return=representation",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- },
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- },
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
},
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- },
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- }
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndexer.json
index ba71754f5761..9ebedfab6137 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateIndexer.json
@@ -1,61 +1,61 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11-Preview",
- "Prefer": "return=representation",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11-Preview",
+ "Prefer": "return=representation",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
},
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSkillset.json
index 0e852af5f0ff..73abccf1099f 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSkillset.json
@@ -1,281 +1,281 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "skillsetName": "demoskillset",
- "api-version": "2017-11-11-Preview",
- "Prefer": "return=representation",
- "skillset": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "textSplitMode": "pages",
- "maximumPageLength": 4000,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ]
- }
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- },
- "201": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2017-11-11-Preview",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ },
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
index dae2878f9b5b..e21c77db3b28 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -1,48 +1,48 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2017-11-11-Preview",
- "Prefer": "return=representation",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2017-11-11-Preview",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- }
- },
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- }
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSkillset.json
index de9a119ec2c5..f748b05bf8bf 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSkillset.json
@@ -1,187 +1,187 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "skillsetName": "demoskillset",
- "api-version": "2017-11-11-Preview",
- "Prefer": "return=representation",
- "skillset": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "textSplitMode": "pages",
- "maximumPageLength": 4000,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ]
- }
- ]
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2017-11-11-Preview",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSynonymMap.json
index 821ad6aedd81..6bc269b90b2f 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceCreateSynonymMap.json
@@ -1,39 +1,39 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "myApplicationSecret"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myApplicationSecret"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
- }
- }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteDataSource.json
index 29af0b3d5f87..c39a386cd554 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteDataSource.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndex.json
index 392d6c4bfbdb..8d429fcb14de 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndex.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndexer.json
index c054d849efd0..a5160b72c688 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteIndexer.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSkillset.json
index 19d8916d0105..891f83046c5e 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSkillset.json
@@ -9,4 +9,4 @@
"204": {},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSynonymMap.json
index 9cdfcdd194b5..aab3878d8a69 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceDeleteSynonymMap.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetDataSource.json
index 0e2bc5f65a01..ab6a5ebf1e37 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetDataSource.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndex.json
index 53a76bba6ed1..2260d5b6ca4b 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndex.json
@@ -1,245 +1,245 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- },
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexStatistics.json
index 61c55f98a85a..95945b66616f 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexStatistics.json
@@ -1,16 +1,16 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "documentCount": 239572,
- "storageSize": 72375920
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "documentCount": 239572,
+ "storageSize": 72375920
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexer.json
index d83e55727568..b225e5483f65 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexer.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexerStatus.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexerStatus.json
index 34748c6bc9e9..527ab053eea5 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexerStatus.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetIndexerStatus.json
@@ -1,63 +1,63 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "status": "running",
- "lastResult": {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- "executionHistory": [
- {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- {
- "status": "transientFailure",
- "errorMessage": null,
- "startTime": "2014-11-26T03:28:10.125Z",
- "endTime": "2014-11-26T03:28:12.007Z",
- "errors": [
- {
- "key": "",
- "errorMessage": "Document key cannot be missing or empty."
- }
- ],
- "warnings": [
- {
- "key": "document id",
- "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
- }
- ],
- "itemsProcessed": 1,
- "itemsFailed": 1,
- "initialTrackingState": null,
- "finalTrackingState": null
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "running",
+ "lastResult": {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ "executionHistory": [
+ {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ {
+ "status": "transientFailure",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:28:10.125Z",
+ "endTime": "2014-11-26T03:28:12.007Z",
+ "errors": [
+ {
+ "key": "",
+ "errorMessage": "Document key cannot be missing or empty."
+ }
+ ],
+ "warnings": [
+ {
+ "key": "document id",
+ "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
+ }
+ ],
+ "itemsProcessed": 1,
+ "itemsFailed": 1,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetServiceStatistics.json
index 29783b21be59..b83f94d309d9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetServiceStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetServiceStatistics.json
@@ -1,44 +1,44 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "counters": {
- "documentCount": {
- "usage": 7093,
- "quota": 10000
- },
- "indexesCount": {
- "usage": 3,
- "quota": 3
- },
- "indexersCount": {
- "usage": 3,
- "quota": 3
- },
- "dataSourcesCount": {
- "usage": 1,
- "quota": 3
- },
- "storageSize": {
- "usage": 914529,
- "quota": 52428800
- },
- "synonymMaps": {
- "usage": 2,
- "quota": 3
- }
- },
- "limits": {
- "maxFieldsPerIndex": 1000,
- "maxFieldNestingDepthPerIndex": 10,
- "maxComplexCollectionFieldsPerIndex": 100
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "counters": {
+ "documentCount": {
+ "usage": 7093,
+ "quota": 10000
+ },
+ "indexesCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "indexersCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "dataSourcesCount": {
+ "usage": 1,
+ "quota": 3
+ },
+ "storageSize": {
+ "usage": 914529,
+ "quota": 52428800
+ },
+ "synonymMaps": {
+ "usage": 2,
+ "quota": 3
+ }
+ },
+ "limits": {
+ "maxFieldsPerIndex": 1000,
+ "maxFieldNestingDepthPerIndex": 10,
+ "maxComplexCollectionFieldsPerIndex": 100
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSkillset.json
index d4a1b6ae6f23..76addf593c88 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSkillset.json
@@ -1,104 +1,104 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "skillsetName": "demoskillset",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSynonymMap.json
index 36c88c4d91e0..a34e96952f3e 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceGetSynonymMap.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceIndexAnalyze.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceIndexAnalyze.json
index ef51d9c8faad..2a3643dc0ff0 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceIndexAnalyze.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceIndexAnalyze.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2017-11-11-Preview",
- "request": {
- "text": "Text to analyze",
- "analyzer": "standard.lucene"
- }
- },
- "responses": {
- "200": {
- "body": {
- "tokens": [
- {
- "token": "text",
- "startOffset": 0,
- "endOffset": 4,
- "position": 0
- },
- {
- "token": "to",
- "startOffset": 5,
- "endOffset": 7,
- "position": 1
- },
- {
- "token": "analyze",
- "startOffset": 8,
- "endOffset": 15,
- "position": 2
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2017-11-11-Preview",
+ "request": {
+ "text": "Text to analyze",
+ "analyzer": "standard.lucene"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tokens": [
+ {
+ "token": "text",
+ "startOffset": 0,
+ "endOffset": 4,
+ "position": 0
+ },
+ {
+ "token": "to",
+ "startOffset": 5,
+ "endOffset": 7,
+ "position": 1
+ },
+ {
+ "token": "analyze",
+ "startOffset": 8,
+ "endOffset": 15,
+ "position": 2
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListDataSources.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListDataSources.json
index 6b28ba8f8656..73ea6479f84c 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListDataSources.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListDataSources.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- },
- {
- "name": "myblobdatasource",
- "description": "My Azure Blob data source.",
- "type": "azureblob",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "mycontainer"
- },
- "dataChangeDetectionPolicy": null,
- "dataDeletionDetectionPolicy": null
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
- }
+ },
+ {
+ "name": "myblobdatasource",
+ "description": "My Azure Blob data source.",
+ "type": "azureblob",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "mycontainer"
+ },
+ "dataChangeDetectionPolicy": null,
+ "dataDeletionDetectionPolicy": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexers.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexers.json
index 6b2d40603bcf..07e171686cb5 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexers.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexers.json
@@ -1,67 +1,67 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydocdbdatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- },
- {
- "name": "myotherindexer",
- "description": "another cool indexer",
- "dataSourceName": "myblobdatasource",
- "targetIndexName": "orders",
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5,
- "batchSize": 15
- },
- "fieldMappings": [
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "FirstName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 0
- }
- }
- },
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "LastName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 1
- }
- }
- }
- ],
- "disabled": false
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydocdbdatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ },
+ {
+ "name": "myotherindexer",
+ "description": "another cool indexer",
+ "dataSourceName": "myblobdatasource",
+ "targetIndexName": "orders",
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5,
+ "batchSize": 15
+ },
+ "fieldMappings": [
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "FirstName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 0
+ }
+ }
+ },
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "LastName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 1
+ }
+ }
+ }
+ ],
+ "disabled": false
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexes.json
index 78cf467adea1..91a4f9f7eb52 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexes.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListIndexes.json
@@ -1,288 +1,288 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "$select": "name",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- },
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- },
- {
- "name": "testindex",
- "fields": [
- {
- "name": "id",
- "type": "Edm.String",
- "searchable": false,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "hidden",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": false,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [],
- "defaultScoringProfile": null,
- "suggesters": [],
- "analyzers": [],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": null,
- "encryptionKey": null
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "name",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
- }
+ },
+ {
+ "name": "testindex",
+ "fields": [
+ {
+ "name": "id",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "hidden",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": false,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [],
+ "defaultScoringProfile": null,
+ "suggesters": [],
+ "analyzers": [],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": null,
+ "encryptionKey": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSkillsets.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSkillsets.json
index 61c551920c8d..4a06cc90f760 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSkillsets.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSkillsets.json
@@ -104,4 +104,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSynonymMaps.json
index a2122043614c..29176b050235 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSynonymMaps.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceListSynonymMaps.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- },
- {
- "name": "myothersynonymmap",
- "format": "solr",
- "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
- "encryptionKey": null
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
- }
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
+ "encryptionKey": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceResetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceResetIndexer.json
index 99eaeef8b6cb..31a5fe3d7046 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceResetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceResetIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceRunIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceRunIndexer.json
index 9d6ff0b871a1..7a7d0eb54016 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceRunIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/examples/SearchServiceRunIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11-Preview"
- },
- "responses": {
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11-Preview"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/searchservice.json
index 06b24476881e..a9d884ab1f76 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/searchservice.json
@@ -5252,7 +5252,7 @@
"required": [
"applicationId"
],
- "description" : "Credentials of a registered application created for your Azure Search service, used for authenticated access to the encryption keys stored in Azure Key Vault."
+ "description": "Credentials of a registered application created for your Azure Search service, used for authenticated access to the encryption keys stored in Azure Key Vault."
},
"ServiceStatistics": {
"properties": {
@@ -5417,4 +5417,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateDataSource.json
index e235b1047cdd..1a9376d9f301 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateDataSource.json
@@ -1,53 +1,53 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndex.json
index 9fa5acd06056..2481c32c8479 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndex.json
@@ -1,346 +1,346 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
}
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndexer.json
index 7b1e70e3184e..440719b78dc8 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateIndexer.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateDataSource.json
index 7ffba4fdc125..8827e1b6e1b7 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateDataSource.json
@@ -1,78 +1,78 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2017-11-11",
- "Prefer": "return=representation",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2017-11-11",
+ "Prefer": "return=representation",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
},
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndex.json
index 2d4c52960213..d5fe8d011b16 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndex.json
@@ -1,575 +1,575 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "allowIndexDowntime": false,
- "api-version": "2017-11-11",
- "Prefer": "return=representation",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "allowIndexDowntime": false,
+ "api-version": "2017-11-11",
+ "Prefer": "return=representation",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
- },
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndexer.json
index a417dddd25a4..91ff5072ba7d 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateIndexer.json
@@ -1,61 +1,61 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11",
- "Prefer": "return=representation",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11",
+ "Prefer": "return=representation",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
},
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateSynonymMap.json
index 0cd643eb7368..06e6a1ec8224 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -1,30 +1,30 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2017-11-11",
- "Prefer": "return=representation",
- "synonymMap": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2017-11-11",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
},
- "responses": {
- "200": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- },
- "201": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateSynonymMap.json
index b9f40ca5ee02..5fe5dd0725e3 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceCreateSynonymMap.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11",
- "synonymMap": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- },
- "responses": {
- "201": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteDataSource.json
index 3faafa97a38a..a2c883da4a50 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteDataSource.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2017-11-11"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndex.json
index 4e7e66f3054d..f61078652aff 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndex.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndexer.json
index b2c58106b3e9..94a5b9fc8819 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteIndexer.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteSynonymMap.json
index 0be6e0a18d4f..0d95268c821e 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceDeleteSynonymMap.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2017-11-11"
- },
- "responses": {
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetDataSource.json
index 5a179764d875..1ca1520a318b 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetDataSource.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndex.json
index 0af6837198c8..55cf609270eb 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndex.json
@@ -1,236 +1,236 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexStatistics.json
index c1d871763c4f..c46c1e93999d 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexStatistics.json
@@ -1,16 +1,16 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "documentCount": 239572,
- "storageSize": 72375920
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "documentCount": 239572,
+ "storageSize": 72375920
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexer.json
index af38815d4134..a959401e4f7c 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexer.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexerStatus.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexerStatus.json
index 1bbea69a189d..3bc1ab9dd40f 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexerStatus.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetIndexerStatus.json
@@ -1,65 +1,65 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "status": "running",
- "lastResult": {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- "executionHistory": [
- {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- {
- "status": "transientFailure",
- "errorMessage": null,
- "startTime": "2014-11-26T03:28:10.125Z",
- "endTime": "2014-11-26T03:28:12.007Z",
- "errors": [
- {
- "key": "",
- "status": false,
- "errorMessage": "Document key cannot be missing or empty.",
- "statusCode": 400
- }
- ],
- "warnings": [
- {
- "key": "document id",
- "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
- }
- ],
- "itemsProcessed": 1,
- "itemsFailed": 1,
- "initialTrackingState": null,
- "finalTrackingState": null
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "running",
+ "lastResult": {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ "executionHistory": [
+ {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ {
+ "status": "transientFailure",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:28:10.125Z",
+ "endTime": "2014-11-26T03:28:12.007Z",
+ "errors": [
+ {
+ "key": "",
+ "status": false,
+ "errorMessage": "Document key cannot be missing or empty.",
+ "statusCode": 400
+ }
+ ],
+ "warnings": [
+ {
+ "key": "document id",
+ "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
+ }
+ ],
+ "itemsProcessed": 1,
+ "itemsFailed": 1,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetServiceStatistics.json
index 1fe6d3bd2280..d04d86feb4a9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetServiceStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetServiceStatistics.json
@@ -1,42 +1,42 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "counters": {
- "documentCount": {
- "usage": 7093,
- "quota": 10000
- },
- "indexesCount": {
- "usage": 3,
- "quota": 3
- },
- "indexersCount": {
- "usage": 3,
- "quota": 3
- },
- "dataSourcesCount": {
- "usage": 1,
- "quota": 3
- },
- "storageSize": {
- "usage": 914529,
- "quota": 52428800
- },
- "synonymMaps": {
- "usage": 2,
- "quota": 3
- }
- },
- "limits": {
- "maxFieldsPerIndex": 1000
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "counters": {
+ "documentCount": {
+ "usage": 7093,
+ "quota": 10000
+ },
+ "indexesCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "indexersCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "dataSourcesCount": {
+ "usage": 1,
+ "quota": 3
+ },
+ "storageSize": {
+ "usage": 914529,
+ "quota": 52428800
+ },
+ "synonymMaps": {
+ "usage": 2,
+ "quota": 3
+ }
+ },
+ "limits": {
+ "maxFieldsPerIndex": 1000
}
+ }
}
+ }
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetSynonymMap.json
index e9f5a86576cb..19e9f2846f8d 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceGetSynonymMap.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceIndexAnalyze.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceIndexAnalyze.json
index 3ca392a388f4..143fae8b6ece 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceIndexAnalyze.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceIndexAnalyze.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2017-11-11",
- "request": {
- "text": "Text to analyze",
- "analyzer": "standard"
- }
- },
- "responses": {
- "200": {
- "body": {
- "tokens": [
- {
- "token": "text",
- "startOffset": 0,
- "endOffset": 4,
- "position": 0
- },
- {
- "token": "to",
- "startOffset": 5,
- "endOffset": 7,
- "position": 1
- },
- {
- "token": "analyze",
- "startOffset": 8,
- "endOffset": 15,
- "position": 2
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2017-11-11",
+ "request": {
+ "text": "Text to analyze",
+ "analyzer": "standard"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tokens": [
+ {
+ "token": "text",
+ "startOffset": 0,
+ "endOffset": 4,
+ "position": 0
+ },
+ {
+ "token": "to",
+ "startOffset": 5,
+ "endOffset": 7,
+ "position": 1
+ },
+ {
+ "token": "analyze",
+ "startOffset": 8,
+ "endOffset": 15,
+ "position": 2
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListDataSources.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListDataSources.json
index 95f760d2d883..09bc5659c605 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListDataSources.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListDataSources.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "documentdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- },
- {
- "name": "myblobdatasource",
- "description": "My Azure Blob data source.",
- "type": "azureblob",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "mycontainer"
- },
- "dataChangeDetectionPolicy": null,
- "dataDeletionDetectionPolicy": null
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "documentdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
- }
+ },
+ {
+ "name": "myblobdatasource",
+ "description": "My Azure Blob data source.",
+ "type": "azureblob",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "mycontainer"
+ },
+ "dataChangeDetectionPolicy": null,
+ "dataDeletionDetectionPolicy": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexers.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexers.json
index f4b15de9e9b6..0e0b85fcbe36 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexers.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexers.json
@@ -1,67 +1,67 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydocdbdatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- },
- {
- "name": "myotherindexer",
- "description": "another cool indexer",
- "dataSourceName": "myblobdatasource",
- "targetIndexName": "orders",
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5,
- "batchSize": 15
- },
- "fieldMappings": [
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "FirstName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 0
- }
- }
- },
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "LastName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 1
- }
- }
- }
- ],
- "disabled": false
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydocdbdatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ },
+ {
+ "name": "myotherindexer",
+ "description": "another cool indexer",
+ "dataSourceName": "myblobdatasource",
+ "targetIndexName": "orders",
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5,
+ "batchSize": 15
+ },
+ "fieldMappings": [
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "FirstName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 0
+ }
+ }
+ },
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "LastName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 1
+ }
+ }
+ }
+ ],
+ "disabled": false
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexes.json
index b7a1cedc5577..9d0f9e91a65a 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexes.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListIndexes.json
@@ -1,281 +1,281 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "$select": "name",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
- },
- {
- "name": "testindex",
- "fields": [
- {
- "name": "id",
- "type": "Edm.String",
- "searchable": false,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "hidden",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": false,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [],
- "defaultScoringProfile": null,
- "suggesters": [],
- "analyzers": [],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": null
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "name",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
- }
+ },
+ {
+ "name": "testindex",
+ "fields": [
+ {
+ "name": "id",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "hidden",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": false,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [],
+ "defaultScoringProfile": null,
+ "suggesters": [],
+ "analyzers": [],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListSynonymMaps.json
index babae1063f95..e34ea9c8fc53 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListSynonymMaps.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceListSynonymMaps.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2017-11-11"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name" : "mysynonymmap",
- "format" : "solr",
- "synonyms" : "United States, United States of America, USA\nWashington, Wash. => WA"
- },
- {
- "name" : "myothersynonymmap",
- "format" : "solr",
- "synonyms" : "couch, sofa, chesterfield\npop, soda\ntoque, hat"
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceResetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceResetIndexer.json
index 35caf8c8c2c5..cd3046415cdc 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceResetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceResetIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11"
- },
- "responses": {
- "204": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceRunIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceRunIndexer.json
index 221bf63d15bb..b82bbbf807db 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceRunIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/examples/SearchServiceRunIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2017-11-11"
- },
- "responses": {
- "202": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2017-11-11"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/searchservice.json
index ed73013a0227..4391ca405ed9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11/searchservice.json
@@ -34,7 +34,9 @@
],
"operationId": "DataSources_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateDataSource": { "$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json" }
+ "SearchServiceCreateOrUpdateDataSource": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json"
+ }
},
"description": "Creates a new Azure Search datasource or updates a datasource if it already exists.",
"externalDocs": {
@@ -95,7 +97,9 @@
],
"operationId": "DataSources_Delete",
"x-ms-examples": {
- "SearchServiceDeleteDataSource": { "$ref": "./examples/SearchServiceDeleteDataSource.json" }
+ "SearchServiceDeleteDataSource": {
+ "$ref": "./examples/SearchServiceDeleteDataSource.json"
+ }
},
"description": "Deletes an Azure Search datasource.",
"externalDocs": {
@@ -138,7 +142,9 @@
],
"operationId": "DataSources_Get",
"x-ms-examples": {
- "SearchServiceGetDataSource": { "$ref": "./examples/SearchServiceGetDataSource.json" }
+ "SearchServiceGetDataSource": {
+ "$ref": "./examples/SearchServiceGetDataSource.json"
+ }
},
"description": "Retrieves a datasource definition from Azure Search.",
"externalDocs": {
@@ -177,7 +183,9 @@
],
"operationId": "DataSources_List",
"x-ms-examples": {
- "SearchServiceListDataSources": { "$ref": "./examples/SearchServiceListDataSources.json" }
+ "SearchServiceListDataSources": {
+ "$ref": "./examples/SearchServiceListDataSources.json"
+ }
},
"description": "Lists all datasources available for an Azure Search service.",
"externalDocs": {
@@ -207,7 +215,9 @@
],
"operationId": "DataSources_Create",
"x-ms-examples": {
- "SearchServiceCreateDataSource": { "$ref": "./examples/SearchServiceCreateDataSource.json" }
+ "SearchServiceCreateDataSource": {
+ "$ref": "./examples/SearchServiceCreateDataSource.json"
+ }
},
"description": "Creates a new Azure Search datasource.",
"externalDocs": {
@@ -248,7 +258,9 @@
],
"operationId": "Indexers_Reset",
"x-ms-examples": {
- "SearchServiceResetIndexer": { "$ref": "./examples/SearchServiceResetIndexer.json" }
+ "SearchServiceResetIndexer": {
+ "$ref": "./examples/SearchServiceResetIndexer.json"
+ }
},
"description": "Resets the change tracking state associated with an Azure Search indexer.",
"externalDocs": {
@@ -284,7 +296,9 @@
],
"operationId": "Indexers_Run",
"x-ms-examples": {
- "SearchServiceRunIndexer": { "$ref": "./examples/SearchServiceRunIndexer.json" }
+ "SearchServiceRunIndexer": {
+ "$ref": "./examples/SearchServiceRunIndexer.json"
+ }
},
"description": "Runs an Azure Search indexer on-demand.",
"externalDocs": {
@@ -320,7 +334,9 @@
],
"operationId": "Indexers_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateIndexer": { "$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json" }
+ "SearchServiceCreateOrUpdateIndexer": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json"
+ }
},
"description": "Creates a new Azure Search indexer or updates an indexer if it already exists.",
"externalDocs": {
@@ -381,7 +397,9 @@
],
"operationId": "Indexers_Delete",
"x-ms-examples": {
- "SearchServiceDeleteIndexer": { "$ref": "./examples/SearchServiceDeleteIndexer.json" }
+ "SearchServiceDeleteIndexer": {
+ "$ref": "./examples/SearchServiceDeleteIndexer.json"
+ }
},
"description": "Deletes an Azure Search indexer.",
"externalDocs": {
@@ -424,7 +442,9 @@
],
"operationId": "Indexers_Get",
"x-ms-examples": {
- "SearchServiceGetIndexer": { "$ref": "./examples/SearchServiceGetIndexer.json" }
+ "SearchServiceGetIndexer": {
+ "$ref": "./examples/SearchServiceGetIndexer.json"
+ }
},
"description": "Retrieves an indexer definition from Azure Search.",
"externalDocs": {
@@ -463,7 +483,9 @@
],
"operationId": "Indexers_List",
"x-ms-examples": {
- "SearchServiceListIndexers": { "$ref": "./examples/SearchServiceListIndexers.json" }
+ "SearchServiceListIndexers": {
+ "$ref": "./examples/SearchServiceListIndexers.json"
+ }
},
"description": "Lists all indexers available for an Azure Search service.",
"externalDocs": {
@@ -493,7 +515,9 @@
],
"operationId": "Indexers_Create",
"x-ms-examples": {
- "SearchServiceCreateIndexer": { "$ref": "./examples/SearchServiceCreateIndexer.json" }
+ "SearchServiceCreateIndexer": {
+ "$ref": "./examples/SearchServiceCreateIndexer.json"
+ }
},
"description": "Creates a new Azure Search indexer.",
"externalDocs": {
@@ -534,7 +558,9 @@
],
"operationId": "Indexers_GetStatus",
"x-ms-examples": {
- "SearchServiceGetIndexerStatus": { "$ref": "./examples/SearchServiceGetIndexerStatus.json" }
+ "SearchServiceGetIndexerStatus": {
+ "$ref": "./examples/SearchServiceGetIndexerStatus.json"
+ }
},
"description": "Returns the current status and execution history of an indexer.",
"externalDocs": {
@@ -573,7 +599,9 @@
],
"operationId": "SynonymMaps_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateSynonymMap": { "$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json" }
+ "SearchServiceCreateOrUpdateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json"
+ }
},
"description": "Creates a new Azure Search synonym map or updates a synonym map if it already exists.",
"externalDocs": {
@@ -634,7 +662,9 @@
],
"operationId": "SynonymMaps_Delete",
"x-ms-examples": {
- "SearchServiceDeleteSynonymMap": { "$ref": "./examples/SearchServiceDeleteSynonymMap.json" }
+ "SearchServiceDeleteSynonymMap": {
+ "$ref": "./examples/SearchServiceDeleteSynonymMap.json"
+ }
},
"description": "Deletes an Azure Search synonym map.",
"externalDocs": {
@@ -677,7 +707,9 @@
],
"operationId": "SynonymMaps_Get",
"x-ms-examples": {
- "SearchServiceGetSynonymMap": { "$ref": "./examples/SearchServiceGetSynonymMap.json" }
+ "SearchServiceGetSynonymMap": {
+ "$ref": "./examples/SearchServiceGetSynonymMap.json"
+ }
},
"description": "Retrieves a synonym map definition from Azure Search.",
"externalDocs": {
@@ -716,7 +748,9 @@
],
"operationId": "SynonymMaps_List",
"x-ms-examples": {
- "SearchServiceListSynonymMaps": { "$ref": "./examples/SearchServiceListSynonymMaps.json" }
+ "SearchServiceListSynonymMaps": {
+ "$ref": "./examples/SearchServiceListSynonymMaps.json"
+ }
},
"description": "Lists all synonym maps available for an Azure Search service.",
"externalDocs": {
@@ -746,7 +780,9 @@
],
"operationId": "SynonymMaps_Create",
"x-ms-examples": {
- "SearchServiceCreateSynonymMap": { "$ref": "./examples/SearchServiceCreateSynonymMap.json" }
+ "SearchServiceCreateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateSynonymMap.json"
+ }
},
"description": "Creates a new Azure Search synonym map.",
"externalDocs": {
@@ -787,7 +823,9 @@
],
"operationId": "Indexes_Create",
"x-ms-examples": {
- "SearchServiceCreateIndex": { "$ref": "./examples/SearchServiceCreateIndex.json" }
+ "SearchServiceCreateIndex": {
+ "$ref": "./examples/SearchServiceCreateIndex.json"
+ }
},
"description": "Creates a new Azure Search index.",
"externalDocs": {
@@ -826,7 +864,9 @@
],
"operationId": "Indexes_List",
"x-ms-examples": {
- "SearchServiceListIndexes": { "$ref": "./examples/SearchServiceListIndexes.json" }
+ "SearchServiceListIndexes": {
+ "$ref": "./examples/SearchServiceListIndexes.json"
+ }
},
"description": "Lists all indexes available for an Azure Search service.",
"externalDocs": {
@@ -865,7 +905,9 @@
],
"operationId": "Indexes_CreateOrUpdate",
"x-ms-examples": {
- "SearchServiceCreateOrUpdateIndex": { "$ref": "./examples/SearchServiceCreateOrUpdateIndex.json" }
+ "SearchServiceCreateOrUpdateIndex": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndex.json"
+ }
},
"description": "Creates a new Azure Search index or updates an index if it already exists.",
"externalDocs": {
@@ -933,7 +975,9 @@
],
"operationId": "Indexes_Delete",
"x-ms-examples": {
- "SearchServiceDeleteIndex": { "$ref": "./examples/SearchServiceDeleteIndex.json" }
+ "SearchServiceDeleteIndex": {
+ "$ref": "./examples/SearchServiceDeleteIndex.json"
+ }
},
"description": "Deletes an Azure Search index and all the documents it contains.",
"externalDocs": {
@@ -976,7 +1020,9 @@
],
"operationId": "Indexes_Get",
"x-ms-examples": {
- "SearchServiceGetIndex": { "$ref": "./examples/SearchServiceGetIndex.json" }
+ "SearchServiceGetIndex": {
+ "$ref": "./examples/SearchServiceGetIndex.json"
+ }
},
"description": "Retrieves an index definition from Azure Search.",
"externalDocs": {
@@ -1015,7 +1061,9 @@
],
"operationId": "Indexes_GetStatistics",
"x-ms-examples": {
- "SearchServiceGetIndexStatistics": { "$ref": "./examples/SearchServiceGetIndexStatistics.json" }
+ "SearchServiceGetIndexStatistics": {
+ "$ref": "./examples/SearchServiceGetIndexStatistics.json"
+ }
},
"description": "Returns statistics for the given index, including a document count and storage usage.",
"externalDocs": {
@@ -1054,7 +1102,9 @@
],
"operationId": "Indexes_Analyze",
"x-ms-examples": {
- "SearchServiceIndexAnalyze": { "$ref": "./examples/SearchServiceIndexAnalyze.json" }
+ "SearchServiceIndexAnalyze": {
+ "$ref": "./examples/SearchServiceIndexAnalyze.json"
+ }
},
"description": "Shows how an analyzer breaks text into tokens.",
"externalDocs": {
@@ -1102,7 +1152,9 @@
],
"operationId": "GetServiceStatistics",
"x-ms-examples": {
- "SearchServiceGetServiceStatistics": { "$ref": "./examples/SearchServiceGetServiceStatistics.json" }
+ "SearchServiceGetServiceStatistics": {
+ "$ref": "./examples/SearchServiceGetServiceStatistics.json"
+ }
},
"description": "Gets service level statistics for an Azure Search service.",
"parameters": [
@@ -1277,14 +1329,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for analyzers."
},
@@ -1413,14 +1466,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for tokenizers.",
"externalDocs": {
@@ -1930,14 +1984,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for token filters.",
"externalDocs": {
@@ -2202,7 +2257,7 @@
},
"description": "The list of words to keep."
},
- "keepWordsCase" : {
+ "keepWordsCase": {
"x-ms-client-name": "LowerCaseKeepWords",
"type": "boolean",
"default": false,
@@ -2891,14 +2946,15 @@
},
"name": {
"type": "string",
- "externalDocs":{
+ "externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
},
"description": "The name of the char filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
}
},
"required": [
- "@odata.type", "name"
+ "@odata.type",
+ "name"
],
"description": "Abstract base class for character filters.",
"externalDocs": {
@@ -3105,7 +3161,10 @@
}
},
"required": [
- "name", "type", "credentials", "container"
+ "name",
+ "type",
+ "credentials",
+ "container"
],
"description": "Represents a datasource definition in Azure Search, which can be used to configure an indexer."
},
@@ -3273,7 +3332,9 @@
}
},
"required": [
- "name", "dataSourceName", "targetIndexName"
+ "name",
+ "dataSourceName",
+ "targetIndexName"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Indexer-operations"
@@ -3401,7 +3462,9 @@
"inProgress",
"reset"
],
- "x-ms-enum": { "name": "IndexerExecutionStatus" },
+ "x-ms-enum": {
+ "name": "IndexerExecutionStatus"
+ },
"x-nullable": false,
"description": "Represents the status of an individual indexer execution."
},
@@ -3435,7 +3498,9 @@
"error",
"running"
],
- "x-ms-enum": { "name": "IndexerStatus" },
+ "x-ms-enum": {
+ "name": "IndexerStatus"
+ },
"x-nullable": false,
"description": "Represents the overall indexer status."
},
@@ -3522,7 +3587,8 @@
}
},
"required": [
- "name", "type"
+ "name",
+ "type"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
@@ -3568,7 +3634,9 @@
}
},
"required": [
- "type", "fieldName", "boost"
+ "type",
+ "fieldName",
+ "boost"
],
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
@@ -3610,7 +3678,8 @@
}
},
"required": [
- "referencePointParameter", "boostingDistance"
+ "referencePointParameter",
+ "boostingDistance"
],
"description": "Provides parameter values to a distance scoring function."
},
@@ -3690,7 +3759,8 @@
}
},
"required": [
- "boostingRangeStart", "boostingRangeEnd"
+ "boostingRangeStart",
+ "boostingRangeEnd"
],
"description": "Provides parameter values to a magnitude scoring function."
},
@@ -3736,7 +3806,9 @@
"quadratic",
"logarithmic"
],
- "x-ms-enum": { "name": "ScoringFunctionInterpolation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionInterpolation"
+ },
"description": "Defines the function used to interpolate score boosting across a range of documents."
},
"ScoringProfile": {
@@ -3782,7 +3854,9 @@
"maximum",
"firstMatching"
],
- "x-ms-enum": { "name": "ScoringFunctionAggregation" },
+ "x-ms-enum": {
+ "name": "ScoringFunctionAggregation"
+ },
"description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile."
},
"CorsOptions": {
@@ -3830,7 +3904,9 @@
}
},
"required": [
- "name", "searchMode", "sourceFields"
+ "name",
+ "searchMode",
+ "sourceFields"
],
"description": "Defines how the Suggest API should apply to a group of fields in the index."
},
@@ -3919,7 +3995,8 @@
}
},
"required": [
- "name", "fields"
+ "name",
+ "fields"
],
"description": "Represents an index definition in Azure Search, which describes the fields and search behavior of an index."
},
@@ -3992,7 +4069,9 @@
}
},
"required": [
- "name", "format", "synonyms"
+ "name",
+ "format",
+ "synonyms"
],
"description": "Represents a synonym map definition in Azure Search."
},
@@ -4103,7 +4182,9 @@
"format": "uuid",
"description": "The tracking ID sent with the request to help with debugging.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-request-options" },
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
"x-ms-parameter-location": "method"
},
"IfMatchParameter": {
@@ -4112,7 +4193,9 @@
"required": false,
"type": "string",
"description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" },
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
"x-ms-parameter-location": "method"
},
"IfNoneMatchParameter": {
@@ -4121,7 +4204,9 @@
"required": false,
"type": "string",
"description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
- "x-ms-parameter-grouping": { "name": "access-condition" },
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
"x-ms-parameter-location": "method"
},
"PreferHeaderParameter": {
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateDataSource.json
index 2fd6d22ba4b6..845a02e5f005 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateDataSource.json
@@ -1,53 +1,53 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndex.json
index 652a7cce93b8..fb2e6d8555fc 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndex.json
@@ -1,346 +1,346 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
}
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndexer.json
index 4c3e08b131b0..232d67ff819d 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateIndexer.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateDataSource.json
index c1af51b87082..4dfc77ba9f62 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateDataSource.json
@@ -1,78 +1,78 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2019-05-06",
- "Prefer": "return=representation",
- "dataSource": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06",
+ "Prefer": "return=representation",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
},
- "201": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndex.json
index e5ffd75fdea4..ca8cd4d19fac 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndex.json
@@ -1,575 +1,575 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "allowIndexDowntime": false,
- "api-version": "2019-05-06",
- "Prefer": "return=representation",
- "index": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "key": true,
- "searchable": false
- },
- {
- "name": "baseRate",
- "type": "Edm.Double"
- },
- {
- "name": "description",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "filterable": false,
- "sortable": false,
- "facetable": false,
- "analyzer": "fr.lucene"
- },
- {
- "name": "hotelName",
- "type": "Edm.String"
- },
- {
- "name": "category",
- "type": "Edm.String"
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "analyzer": "tagsAnalyzer"
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean"
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean"
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset"
- },
- {
- "name": "rating",
- "type": "Edm.Int32"
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint"
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "allowIndexDowntime": false,
+ "api-version": "2019-05-06",
+ "Prefer": "return=representation",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
- },
- "201": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndexer.json
index ba9f42b0fd4f..5930a217c693 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateIndexer.json
@@ -1,61 +1,61 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2019-05-06",
- "Prefer": "return=representation",
- "indexer": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06",
+ "Prefer": "return=representation",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
},
- "201": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSkillset.json
index 731e909988d9..03c281462208 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSkillset.json
@@ -1,281 +1,281 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "skillsetName": "demoskillset",
- "api-version": "2019-05-06",
- "Prefer": "return=representation",
- "skillset": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "textSplitMode": "pages",
- "maximumPageLength": 4000,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ]
- }
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- },
- "201": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ },
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSynonymMap.json
index 4ebff4f1f201..bccae7eeabd1 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -1,30 +1,30 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2019-05-06",
- "Prefer": "return=representation",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- },
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSkillset.json
index 03501f6cba0e..a459519e32b9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSkillset.json
@@ -1,187 +1,187 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "skillsetName": "demoskillset",
- "api-version": "2019-05-06",
- "Prefer": "return=representation",
- "skillset": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "textSplitMode": "pages",
- "maximumPageLength": 4000,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ]
- }
- ]
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSynonymMap.json
index e9a49beeecda..54fed9e2195e 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceCreateSynonymMap.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteDataSource.json
index 1ecbb42987a2..28ce67ce9aa4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteDataSource.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2019-05-06"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndex.json
index b83ea37d290f..1a45934f78e0 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndex.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2019-05-06"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndexer.json
index f255e2701480..228cfb6065e4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteIndexer.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2019-05-06"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSkillset.json
index bca4fce7b818..0f76ee238c6c 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSkillset.json
@@ -9,4 +9,4 @@
"204": {},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSynonymMap.json
index d74e19007808..1f1a858dc696 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceDeleteSynonymMap.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2019-05-06"
- },
- "responses": {
- "204": {},
- "404": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetDataSource.json
index 1e5240b73a74..fb167a0ccfb9 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetDataSource.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetDataSource.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "dataSourceName": "mydatasource",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndex.json
index 52064f3ee892..db93d25e9e27 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndex.json
@@ -1,236 +1,236 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
- }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexStatistics.json
index c13df23a9044..d02d8ab12144 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexStatistics.json
@@ -1,16 +1,16 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "documentCount": 239572,
- "storageSize": 72375920
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "documentCount": 239572,
+ "storageSize": 72375920
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexer.json
index e6a7b306a024..81506dd1be57 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexer.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexerStatus.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexerStatus.json
index 06e08217a78c..83e9dce778af 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexerStatus.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetIndexerStatus.json
@@ -1,69 +1,69 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "status": "running",
- "lastResult": {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- "executionHistory": [
- {
- "status": "success",
- "errorMessage": null,
- "startTime": "2014-11-26T03:37:18.853Z",
- "endTime": "2014-11-26T03:37:19.012Z",
- "errors": [],
- "warnings": [],
- "itemsProcessed": 11,
- "itemsFailed": 0,
- "initialTrackingState": null,
- "finalTrackingState": null
- },
- {
- "status": "transientFailure",
- "errorMessage": null,
- "startTime": "2014-11-26T03:28:10.125Z",
- "endTime": "2014-11-26T03:28:12.007Z",
- "errors": [
- {
- "key": "",
- "errorMessage": "Document key cannot be missing or empty.",
- "statusCode": 400
- }
- ],
- "warnings": [
- {
- "key": "document id",
- "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
- }
- ],
- "itemsProcessed": 1,
- "itemsFailed": 1,
- "initialTrackingState": null,
- "finalTrackingState": null
- }
- ],
- "limits": {
- "maxRunTime": "22:00:00",
- "maxDocumentExtractionSize": 256000000,
- "maxDocumentContentCharactersToExtract": 4000000
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "running",
+ "lastResult": {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ "executionHistory": [
+ {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ {
+ "status": "transientFailure",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:28:10.125Z",
+ "endTime": "2014-11-26T03:28:12.007Z",
+ "errors": [
+ {
+ "key": "",
+ "errorMessage": "Document key cannot be missing or empty.",
+ "statusCode": 400
+ }
+ ],
+ "warnings": [
+ {
+ "key": "document id",
+ "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob."
+ }
+ ],
+ "itemsProcessed": 1,
+ "itemsFailed": 1,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ }
+ ],
+ "limits": {
+ "maxRunTime": "22:00:00",
+ "maxDocumentExtractionSize": 256000000,
+ "maxDocumentContentCharactersToExtract": 4000000
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json
index 1a985a743025..65d2bdcebfc1 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetServiceStatistics.json
@@ -1,44 +1,44 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "counters": {
- "documentCount": {
- "usage": 7093,
- "quota": 10000
- },
- "indexesCount": {
- "usage": 3,
- "quota": 3
- },
- "indexersCount": {
- "usage": 3,
- "quota": 3
- },
- "dataSourcesCount": {
- "usage": 1,
- "quota": 3
- },
- "storageSize": {
- "usage": 914529,
- "quota": 52428800
- },
- "synonymMaps": {
- "usage": 2,
- "quota": 3
- }
- },
- "limits": {
- "maxFieldsPerIndex": 1000,
- "maxFieldNestingDepthPerIndex": 10,
- "maxComplexCollectionFieldsPerIndex": 100
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "counters": {
+ "documentCount": {
+ "usage": 7093,
+ "quota": 10000
+ },
+ "indexesCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "indexersCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "dataSourcesCount": {
+ "usage": 1,
+ "quota": 3
+ },
+ "storageSize": {
+ "usage": 914529,
+ "quota": 52428800
+ },
+ "synonymMaps": {
+ "usage": 2,
+ "quota": 3
+ }
+ },
+ "limits": {
+ "maxFieldsPerIndex": 1000,
+ "maxFieldNestingDepthPerIndex": 10,
+ "maxComplexCollectionFieldsPerIndex": 100
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSkillset.json
index eaa96e51146b..e552e1a0b9a3 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSkillset.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSkillset.json
@@ -1,104 +1,104 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "skillsetName": "demoskillset",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "name": "demoskillset",
- "description": "Extract entities, detect language and extract key-phrases",
- "skills": [
- {
- "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "organizations",
- "targetName": "organizations"
- }
- ],
- "categories": [
- "organization"
- ],
- "defaultLanguageCode": "en",
- "minimumPrecision": 0.7
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- }
- ],
- "outputs": [
- {
- "name": "languageCode",
- "targetName": "languageCode"
- }
- ]
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
- "description": null,
- "context": null,
- "inputs": [
- {
- "name": "text",
- "source": "/document/content"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "textItems",
- "targetName": "pages"
- }
- ],
- "defaultLanguageCode": null,
- "textSplitMode": "pages",
- "maximumPageLength": 4000
- },
- {
- "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
- "description": null,
- "context": "/document/pages/*",
- "inputs": [
- {
- "name": "text",
- "source": "/document/pages/*"
- },
- {
- "name": "languageCode",
- "source": "/document/languageCode"
- }
- ],
- "outputs": [
- {
- "name": "keyPhrases",
- "targetName": "keyPhrases"
- }
- ],
- "defaultLanguageCode": null,
- "maxKeyPhraseCount": null
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSynonymMap.json
index 8b19433c1514..0a979bbe44e4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceGetSynonymMap.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceIndexAnalyze.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceIndexAnalyze.json
index 65c0a84f6adb..9c73626d6245 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceIndexAnalyze.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceIndexAnalyze.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "hotels",
- "api-version": "2019-05-06",
- "request": {
- "text": "Text to analyze",
- "analyzer": "standard.lucene"
- }
- },
- "responses": {
- "200": {
- "body": {
- "tokens": [
- {
- "token": "text",
- "startOffset": 0,
- "endOffset": 4,
- "position": 0
- },
- {
- "token": "to",
- "startOffset": 5,
- "endOffset": 7,
- "position": 1
- },
- {
- "token": "analyze",
- "startOffset": 8,
- "endOffset": 15,
- "position": 2
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06",
+ "request": {
+ "text": "Text to analyze",
+ "analyzer": "standard.lucene"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tokens": [
+ {
+ "token": "text",
+ "startOffset": 0,
+ "endOffset": 4,
+ "position": 0
+ },
+ {
+ "token": "to",
+ "startOffset": 5,
+ "endOffset": 7,
+ "position": 1
+ },
+ {
+ "token": "analyze",
+ "startOffset": 8,
+ "endOffset": 15,
+ "position": 2
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListDataSources.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListDataSources.json
index ace244260b08..879b3262bfdc 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListDataSources.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListDataSources.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mydocdbdatasource",
- "description": "My Cosmos DB data source.",
- "type": "cosmosdb",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "myDocDbCollectionId",
- "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
- },
- "dataChangeDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
- "highWaterMarkColumnName": "_ts"
- },
- "dataDeletionDetectionPolicy": {
- "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
- "softDeleteColumnName": "isDeleted",
- "softDeleteMarkerValue": "true"
- }
- },
- {
- "name": "myblobdatasource",
- "description": "My Azure Blob data source.",
- "type": "azureblob",
- "credentials": {
- "connectionString": null
- },
- "container": {
- "name": "mycontainer"
- },
- "dataChangeDetectionPolicy": null,
- "dataDeletionDetectionPolicy": null
- }
- ]
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
}
- }
+ },
+ {
+ "name": "myblobdatasource",
+ "description": "My Azure Blob data source.",
+ "type": "azureblob",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "mycontainer"
+ },
+ "dataChangeDetectionPolicy": null,
+ "dataDeletionDetectionPolicy": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexers.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexers.json
index 47c683ac31bb..97f58acd24ad 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexers.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexers.json
@@ -1,67 +1,67 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "myindexer",
- "description": "a cool indexer",
- "dataSourceName": "mydocdbdatasource",
- "targetIndexName": "orders",
- "schedule": {
- "interval": "PT1H",
- "startTime": "2015-01-01T00:00:00Z"
- },
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5
- },
- "fieldMappings": [],
- "disabled": false
- },
- {
- "name": "myotherindexer",
- "description": "another cool indexer",
- "dataSourceName": "myblobdatasource",
- "targetIndexName": "orders",
- "parameters": {
- "maxFailedItems": 10,
- "maxFailedItemsPerBatch": 5,
- "batchSize": 15
- },
- "fieldMappings": [
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "FirstName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 0
- }
- }
- },
- {
- "sourceFieldName": "PersonName",
- "targetFieldName": "LastName",
- "mappingFunction": {
- "name": "extractTokenAtPosition",
- "parameters": {
- "delimiter": " ",
- "position": 1
- }
- }
- }
- ],
- "disabled": false
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydocdbdatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ },
+ {
+ "name": "myotherindexer",
+ "description": "another cool indexer",
+ "dataSourceName": "myblobdatasource",
+ "targetIndexName": "orders",
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5,
+ "batchSize": 15
+ },
+ "fieldMappings": [
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "FirstName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 0
+ }
+ }
+ },
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "LastName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 1
+ }
+ }
+ }
+ ],
+ "disabled": false
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexes.json
index 989a900f9b50..fc3304458b65 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexes.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListIndexes.json
@@ -1,281 +1,281 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "$select": "name",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "hotels",
- "fields": [
- {
- "name": "hotelId",
- "type": "Edm.String",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "baseRate",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "description_fr",
- "type": "Edm.String",
- "searchable": true,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "fr.lucene",
- "synonymMaps": []
- },
- {
- "name": "hotelName",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "category",
- "type": "Edm.String",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "tags",
- "type": "Collection(Edm.String)",
- "searchable": true,
- "filterable": true,
- "retrievable": true,
- "sortable": false,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": "tagsAnalyzer",
- "synonymMaps": []
- },
- {
- "name": "parkingIncluded",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "smokingAllowed",
- "type": "Edm.Boolean",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "lastRenovationDate",
- "type": "Edm.DateTimeOffset",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "rating",
- "type": "Edm.Int32",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": true,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "location",
- "type": "Edm.GeographyPoint",
- "searchable": false,
- "filterable": true,
- "retrievable": true,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [
- {
- "name": "geo",
- "text": {
- "weights": {
- "hotelName": 5
- }
- },
- "functions": [
- {
- "type": "distance",
- "boost": 5,
- "fieldName": "location",
- "interpolation": "logarithmic",
- "distance": {
- "referencePointParameter": "currentLocation",
- "boostingDistance": 10
- }
- }
- ]
- }
- ],
- "defaultScoringProfile": "geo",
- "suggesters": [
- {
- "name": "sg",
- "searchMode": "analyzingInfixMatching",
- "sourceFields": [
- "hotelName"
- ]
- }
- ],
- "analyzers": [
- {
- "name": "tagsAnalyzer",
- "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
- "charFilters": [
- "html_strip"
- ],
- "tokenizer": "standard_v2"
- }
- ],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": {
- "allowedOrigins": [
- "tempuri.org"
- ],
- "maxAgeInSeconds": 60
- }
- },
- {
- "name": "testindex",
- "fields": [
- {
- "name": "id",
- "type": "Edm.String",
- "searchable": false,
- "filterable": false,
- "retrievable": true,
- "sortable": false,
- "facetable": false,
- "key": true,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- },
- {
- "name": "hidden",
- "type": "Edm.Double",
- "searchable": false,
- "filterable": true,
- "retrievable": false,
- "sortable": true,
- "facetable": false,
- "key": false,
- "indexAnalyzer": null,
- "searchAnalyzer": null,
- "analyzer": null,
- "synonymMaps": []
- }
- ],
- "scoringProfiles": [],
- "defaultScoringProfile": null,
- "suggesters": [],
- "analyzers": [],
- "tokenizers": [],
- "tokenFilters": [],
- "charFilters": [],
- "corsOptions": null
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "name",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
}
+ }
]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
}
- }
+ },
+ {
+ "name": "testindex",
+ "fields": [
+ {
+ "name": "id",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "hidden",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": false,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [],
+ "defaultScoringProfile": null,
+ "suggesters": [],
+ "analyzers": [],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": null
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSkillsets.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSkillsets.json
index c34f254df26f..03705fc89a51 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSkillsets.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSkillsets.json
@@ -104,4 +104,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSynonymMaps.json
index 2e35aa4343a5..bdc56fcf80fc 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSynonymMaps.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceListSynonymMaps.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
- },
- {
- "name": "myothersynonymmap",
- "format": "solr",
- "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat"
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA"
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceResetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceResetIndexer.json
index afdef3ddb709..4a3bd94c38ca 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceResetIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceResetIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2019-05-06"
- },
- "responses": {
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceRunIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceRunIndexer.json
index 8522aecdcf49..cc60b255ee23 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceRunIndexer.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/examples/SearchServiceRunIndexer.json
@@ -1,11 +1,11 @@
{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexerName": "myindexer",
- "api-version": "2019-05-06"
- },
- "responses": {
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
index 9ca1f30613d2..a22827cf6516 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
@@ -3890,7 +3890,7 @@
},
"description": "History of the recent indexer executions, sorted in reverse chronological order."
},
- "limits" : {
+ "limits": {
"$ref": "#/definitions/IndexerLimits",
"readOnly": true,
"description": "The execution limits for the indexer."
@@ -5386,4 +5386,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCheckNameAvailability.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCheckNameAvailability.json
index aafaa0f8a8e8..5af906830b62 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCheckNameAvailability.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCheckNameAvailability.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "api-version": "2015-08-19",
- "subscriptionId": "subid",
- "checkNameAvailabilityInput": {
- "name": "mysearchservice",
- "type": "searchServices"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": false,
- "reason": "AlreadyExists",
- "message": ""
- }
- }
+ "parameters": {
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid",
+ "checkNameAvailabilityInput": {
+ "name": "mysearchservice",
+ "type": "searchServices"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": ""
+ }
+ }
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateService.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateService.json
index 8a0a9fd5a44e..006139634d94 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateService.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateService.json
@@ -1,68 +1,68 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid",
- "service": {
- "location": "westus",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties": {
- "replicaCount": 3,
- "partitionCount": 1,
- "hostingMode": "default"
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid",
+ "service": {
+ "location": "westus",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "hostingMode": "default"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "provisioning",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "provisioning"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
},
- "201": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "provisioning",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "provisioning"
- }
- }
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.json
index 4f7cdf3f1f60..1b83f8f88883 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.json
@@ -1,81 +1,81 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid",
- "service": {
- "location": "westus",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties": {
- "replicaCount": 3,
- "partitionCount": 1,
- "hostingMode": "default"
- },
- "identity": {
- "type": "SystemAssigned"
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid",
+ "service": {
+ "location": "westus",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "hostingMode": "default"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning"
+ },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "provisioning",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "provisioning"
- },
- "identity": {
- "type": "SystemAssigned",
- "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
- "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning"
},
- "201": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "provisioning",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "provisioning"
- },
- "identity": {
- "type": "SystemAssigned",
- "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
- "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
- }
- }
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateQueryKey.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateQueryKey.json
index b010a15e91cc..47796cfe3f38 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateQueryKey.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateQueryKey.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "name": "Query key for browser-based clients",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
"name": "Query key for browser-based clients",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "name": "Query key for browser-based clients",
- "key": ""
- }
- }
+ "key": ""
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteQueryKey.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteQueryKey.json
index 3416a0f45951..eb0a586d30a9 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteQueryKey.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteQueryKey.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "key": "",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": { },
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "key": "",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteService.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteService.json
index 585c69cdd512..97fda9c4a806 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteService.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchDeleteService.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": { },
- "204": { },
- "404": { }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetAdminKeys.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetAdminKeys.json
index e2f7104c4cee..7ed249fd4fcf 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetAdminKeys.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetAdminKeys.json
@@ -1,16 +1,16 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "primaryKey": "",
- "secondaryKey": ""
- }
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryKey": "",
+ "secondaryKey": ""
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetService.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetService.json
index d47a0b32f0ed..bd683a478b9e 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetService.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchGetService.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "running",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "succeeded"
- }
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListQueryKeysBySearchService.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListQueryKeysBySearchService.json
index 8b04d5f01bcb..462b6103009c 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListQueryKeysBySearchService.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListQueryKeysBySearchService.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "Query key for browser-based clients",
- "key": ""
- },
- {
- "name": "Query key for mobile clients",
- "key": ""
- }
- ]
- }
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Query key for browser-based clients",
+ "key": ""
+ },
+ {
+ "name": "Query key for mobile clients",
+ "key": ""
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesByResourceGroup.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesByResourceGroup.json
index 0c494d8e6ab1..a2fd0f5c0c91 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesByResourceGroup.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesByResourceGroup.json
@@ -1,55 +1,55 @@
{
- "parameters": {
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "running",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "succeeded"
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice2",
- "name": "mysearchservice2",
- "location": "eastus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "basic"
- },
- "properties":{
- "replicaCount": 1,
- "partitionCount": 1,
- "status": "running",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "succeeded"
- }
- }
- ]
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded"
}
- }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice2",
+ "name": "mysearchservice2",
+ "location": "eastus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "basic"
+ },
+ "properties": {
+ "replicaCount": 1,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded"
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesBySubscription.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesBySubscription.json
index 8dd1f262bfbe..61dded18c054 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesBySubscription.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchListServicesBySubscription.json
@@ -1,54 +1,54 @@
{
- "parameters": {
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "running",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "succeeded"
- }
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Search/searchServices/mysearchservice2",
- "name": "mysearchservice2",
- "location": "eastus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "basic"
- },
- "properties":{
- "replicaCount": 1,
- "partitionCount": 1,
- "status": "running",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "succeeded"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded"
}
- }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Search/searchServices/mysearchservice2",
+ "name": "mysearchservice2",
+ "location": "eastus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "basic"
+ },
+ "properties": {
+ "replicaCount": 1,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded"
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchRegenerateAdminKey.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchRegenerateAdminKey.json
index c7fccba9703e..e9a2869e751a 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchRegenerateAdminKey.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchRegenerateAdminKey.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "keyKind": "primary",
- "api-version": "2015-08-19",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "primaryKey": "",
- "secondaryKey": ""
- }
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "keyKind": "primary",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryKey": "",
+ "secondaryKey": ""
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateService.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateService.json
index 28492fba6b7f..9705dd30f56b 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateService.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateService.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid",
- "service": {
- "tags": {
- "app-name": "My e-commerce app",
- "new-tag": "Adding a new tag"
- },
- "properties": {
- "replicaCount": 2
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "provisioning",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "provisioning"
- }
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid",
+ "service": {
+ "tags": {
+ "app-name": "My e-commerce app",
+ "new-tag": "Adding a new tag"
+ },
+ "properties": {
+ "replicaCount": 2
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {
+ "app-name": "My e-commerce app"
+ },
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "provisioning",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "provisioning"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.json
index abc3c96c5c68..2453cc7eb6dc 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.json
@@ -1,42 +1,41 @@
{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid",
- "service": {
- "sku": {
- "name": "standard"
- },
- "identity": {
- "type": "None"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "running",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "succeeded"
- },
- "identity": {
- "type": "None"
- }
- }
+ "parameters": {
+ "searchServiceName": "mysearchservice",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-08-19",
+ "subscriptionId": "subid",
+ "service": {
+ "sku": {
+ "name": "standard"
+ },
+ "identity": {
+ "type": "None"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
+ "name": "mysearchservice",
+ "location": "westus",
+ "type": "Microsoft.Search/searchServices",
+ "tags": {},
+ "sku": {
+ "name": "standard"
+ },
+ "properties": {
+ "replicaCount": 3,
+ "partitionCount": 1,
+ "status": "running",
+ "statusDetails": "",
+ "hostingMode": "default",
+ "provisioningState": "succeeded"
+ },
+ "identity": {
+ "type": "None"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json
index 7c6f34c61b41..a31580acc364 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json
@@ -66,7 +66,9 @@
],
"operationId": "AdminKeys_Get",
"x-ms-examples": {
- "SearchGetAdminKeys": { "$ref": "./examples/SearchGetAdminKeys.json" }
+ "SearchGetAdminKeys": {
+ "$ref": "./examples/SearchGetAdminKeys.json"
+ }
},
"description": "Gets the primary and secondary admin API keys for the specified Azure Search service.",
"externalDocs": {
@@ -112,7 +114,9 @@
],
"operationId": "AdminKeys_Regenerate",
"x-ms-examples": {
- "SearchRegenerateAdminKey": { "$ref": "./examples/SearchRegenerateAdminKey.json" }
+ "SearchRegenerateAdminKey": {
+ "$ref": "./examples/SearchRegenerateAdminKey.json"
+ }
},
"description": "Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.",
"externalDocs": {
@@ -173,7 +177,9 @@
],
"operationId": "QueryKeys_Create",
"x-ms-examples": {
- "SearchCreateQueryKey": { "$ref": "./examples/SearchCreateQueryKey.json" }
+ "SearchCreateQueryKey": {
+ "$ref": "./examples/SearchCreateQueryKey.json"
+ }
},
"description": "Generates a new query key for the specified Search service. You can create up to 50 query keys per service.",
"externalDocs": {
@@ -229,7 +235,9 @@
},
"operationId": "QueryKeys_ListBySearchService",
"x-ms-examples": {
- "SearchListQueryKeysBySearchService": { "$ref": "./examples/SearchListQueryKeysBySearchService.json" }
+ "SearchListQueryKeysBySearchService": {
+ "$ref": "./examples/SearchListQueryKeysBySearchService.json"
+ }
},
"description": "Returns the list of query API keys for the given Azure Search service.",
"externalDocs": {
@@ -275,7 +283,9 @@
],
"operationId": "QueryKeys_Delete",
"x-ms-examples": {
- "SearchDeleteQueryKey": { "$ref": "./examples/SearchDeleteQueryKey.json" }
+ "SearchDeleteQueryKey": {
+ "$ref": "./examples/SearchDeleteQueryKey.json"
+ }
},
"description": "Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.",
"externalDocs": {
@@ -331,8 +341,12 @@
],
"operationId": "Services_CreateOrUpdate",
"x-ms-examples": {
- "SearchCreateOrUpdateService": { "$ref": "./examples/SearchCreateOrUpdateService.json" },
- "SearchCreateOrUpdateServiceWithIdentity": { "$ref": "./examples/SearchCreateOrUpdateServiceWithIdentity.json" }
+ "SearchCreateOrUpdateService": {
+ "$ref": "./examples/SearchCreateOrUpdateService.json"
+ },
+ "SearchCreateOrUpdateServiceWithIdentity": {
+ "$ref": "./examples/SearchCreateOrUpdateServiceWithIdentity.json"
+ }
},
"description": "Creates or updates a Search service in the given resource group. If the Search service already exists, all properties will be updated with the given values.",
"externalDocs": {
@@ -396,8 +410,12 @@
],
"operationId": "Services_Update",
"x-ms-examples": {
- "SearchUpdateService": { "$ref": "./examples/SearchUpdateService.json" },
- "SearchUpdateServiceToRemoveIdentity": { "$ref": "./examples/SearchUpdateServiceToRemoveIdentity.json" }
+ "SearchUpdateService": {
+ "$ref": "./examples/SearchUpdateService.json"
+ },
+ "SearchUpdateServiceToRemoveIdentity": {
+ "$ref": "./examples/SearchUpdateServiceToRemoveIdentity.json"
+ }
},
"description": "Updates an existing Search service in the given resource group.",
"externalDocs": {
@@ -454,7 +472,9 @@
],
"operationId": "Services_Get",
"x-ms-examples": {
- "SearchGetService": { "$ref": "./examples/SearchGetService.json" }
+ "SearchGetService": {
+ "$ref": "./examples/SearchGetService.json"
+ }
},
"description": "Gets the Search service with the given name in the given resource group.",
"externalDocs": {
@@ -498,7 +518,9 @@
],
"operationId": "Services_Delete",
"x-ms-examples": {
- "SearchDeleteService": { "$ref": "./examples/SearchDeleteService.json" }
+ "SearchDeleteService": {
+ "$ref": "./examples/SearchDeleteService.json"
+ }
},
"description": "Deletes a Search service in the given resource group, along with its associated resources.",
"externalDocs": {
@@ -550,7 +572,9 @@
},
"operationId": "Services_ListByResourceGroup",
"x-ms-examples": {
- "SearchListServicesByResourceGroup": { "$ref": "./examples/SearchListServicesByResourceGroup.json" }
+ "SearchListServicesByResourceGroup": {
+ "$ref": "./examples/SearchListServicesByResourceGroup.json"
+ }
},
"description": "Gets a list of all Search services in the given resource group.",
"externalDocs": {
@@ -596,7 +620,9 @@
},
"operationId": "Services_ListBySubscription",
"x-ms-examples": {
- "SearchListServicesBySubscription": { "$ref": "./examples/SearchListServicesBySubscription.json" }
+ "SearchListServicesBySubscription": {
+ "$ref": "./examples/SearchListServicesBySubscription.json"
+ }
},
"description": "Gets a list of all Search services in the given subscription.",
"externalDocs": {
@@ -640,7 +666,9 @@
},
"operationId": "Services_CheckNameAvailability",
"x-ms-examples": {
- "SearchCheckNameAvailability": { "$ref": "./examples/SearchCheckNameAvailability.json" }
+ "SearchCheckNameAvailability": {
+ "$ref": "./examples/SearchCheckNameAvailability.json"
+ }
},
"parameters": [
{
@@ -805,7 +833,7 @@
"url": "https://azure.microsoft.com/documentation/articles/search-sku-tier/"
}
},
- "SearchService" : {
+ "SearchService": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
@@ -972,30 +1000,30 @@
"x-ms-external": true
},
"CloudErrorBody": {
- "type": "object",
- "description": "Describes a particular API error with an error code and a message.",
- "properties": {
- "code": {
- "type": "string",
- "description": "An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases."
- },
- "message": {
- "type": "string",
- "description": "A message that describes the error in detail and provides debugging information."
- },
- "target": {
- "type": "string",
- "description": "The target of the particular error (for example, the name of the property in error)."
- },
- "details": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CloudErrorBody"
- },
- "description": "Contains nested errors that are related to this error."
- }
+ "type": "object",
+ "description": "Describes a particular API error with an error code and a message.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases."
},
- "x-ms-external": true
+ "message": {
+ "type": "string",
+ "description": "A message that describes the error in detail and provides debugging information."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "Contains nested errors that are related to this error."
+ }
+ },
+ "x-ms-external": true
},
"Operation": {
"description": "Describes a REST API operation.",
@@ -1109,7 +1137,9 @@
"format": "uuid",
"description": "A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.",
"x-ms-client-request-id": true,
- "x-ms-parameter-grouping": { "name": "search-management-request-options" },
+ "x-ms-parameter-grouping": {
+ "name": "search-management-request-options"
+ },
"x-ms-parameter-location": "method"
},
"SubscriptionIdParameter": {