Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Azure Cognitive Search] Rename Track 2 models and add missing property #7936

Merged
merged 1 commit into from
Dec 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
"200": {
"description": "Response containing documents that match the search criteria.",
"schema": {
"$ref": "#/definitions/DocumentSearchResult"
"$ref": "#/definitions/SearchDocumentsResult"
}
}
}
Expand Down Expand Up @@ -336,7 +336,7 @@
"200": {
"description": "Response containing documents that match the search criteria.",
"schema": {
"$ref": "#/definitions/DocumentSearchResult"
"$ref": "#/definitions/SearchDocumentsResult"
}
}
}
Expand Down Expand Up @@ -530,7 +530,7 @@
"200": {
"description": "Response containing suggested documents that match the partial input.",
"schema": {
"$ref": "#/definitions/DocumentSuggestResult"
"$ref": "#/definitions/SuggestDocumentsResult"
}
}
}
Expand Down Expand Up @@ -573,7 +573,7 @@
"200": {
"description": "Response containing suggested documents that match the partial input.",
"schema": {
"$ref": "#/definitions/DocumentSuggestResult"
"$ref": "#/definitions/SuggestDocumentsResult"
}
}
}
Expand Down Expand Up @@ -616,13 +616,13 @@
"200": {
"description": "Response containing the status of operations for all actions in the batch.",
"schema": {
"$ref": "#/definitions/DocumentIndexResult"
"$ref": "#/definitions/IndexDocumentsResult"
}
},
"207": {
"description": "Response containing the status of operations for all actions in the batch.",
"schema": {
"$ref": "#/definitions/DocumentIndexResult"
"$ref": "#/definitions/IndexDocumentsResult"
}
}
}
Expand Down Expand Up @@ -757,10 +757,9 @@
"x-ms-request-id": "request-id",
"responses": {
"200": {
"description": "",
"description": "Response containing suggested query terms that complete the partial input.",
"schema": {
"$ref": "#/definitions/AutocompleteResult",
"description": "The result of Autocomplete query."
"$ref": "#/definitions/AutocompleteResult"
}
}
}
Expand Down Expand Up @@ -801,18 +800,17 @@
"x-ms-request-id": "request-id",
"responses": {
"200": {
"description": "",
"description": "Response containing suggested query terms that complete the partial input.",
"schema": {
"$ref": "#/definitions/AutocompleteResult",
"description": "The result of Autocomplete query."
"$ref": "#/definitions/AutocompleteResult"
}
}
}
}
}
},
"definitions": {
"DocumentSuggestResult": {
"SuggestDocumentsResult": {
"properties": {
"value": {
"type": "array",
Expand Down Expand Up @@ -857,7 +855,7 @@
"additionalProperties": true,
"description": "A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval."
},
"DocumentSearchResult": {
"SearchDocumentsResult": {
"properties": {
"@odata.count": {
"type": "integer",
Expand Down Expand Up @@ -1001,7 +999,7 @@
},
"description": "Status of an indexing operation for a single document."
},
"DocumentIndexResult": {
"IndexDocumentsResult": {
"properties": {
"value": {
"x-ms-client-name": "Results",
Expand Down Expand Up @@ -1255,6 +1253,13 @@
},
"AutocompleteResult": {
"properties": {
"@search.coverage": {
"type": "number",
"format": "double",
"readOnly": true,
"x-ms-client-name": "Coverage",
"description": "A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request."
},
"value": {
"type": "array",
"readOnly": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/DataSourceListResult"
"$ref": "#/definitions/ListDataSourcesResult"
}
}
}
Expand Down Expand Up @@ -518,7 +518,7 @@
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/IndexerListResult"
"$ref": "#/definitions/ListIndexersResult"
}
}
}
Expand Down Expand Up @@ -790,7 +790,7 @@
"200": {
"description": "The list is successfully returned.",
"schema": {
"$ref": "#/definitions/SkillsetListResult"
"$ref": "#/definitions/ListSkillsetsResult"
}
}
}
Expand Down Expand Up @@ -1021,7 +1021,7 @@
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/SynonymMapListResult"
"$ref": "#/definitions/ListSynonymMapsResult"
}
}
}
Expand Down Expand Up @@ -1144,7 +1144,7 @@
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/IndexListResult"
"$ref": "#/definitions/ListIndexesResult"
}
}
}
Expand Down Expand Up @@ -1341,7 +1341,7 @@
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/IndexGetStatisticsResult"
"$ref": "#/definitions/GetIndexStatisticsResult"
}
}
}
Expand Down Expand Up @@ -3853,7 +3853,7 @@
],
"description": "Represents a datasource definition, which can be used to configure an indexer."
},
"DataSourceListResult": {
"ListDataSourcesResult": {
"properties": {
"value": {
"x-ms-client-name": "DataSources",
Expand Down Expand Up @@ -4040,7 +4040,7 @@
},
"description": "Represents an indexer."
},
"IndexerListResult": {
"ListIndexersResult": {
"properties": {
"value": {
"x-ms-client-name": "Indexers",
Expand Down Expand Up @@ -4763,7 +4763,7 @@
],
"description": "Represents a search index definition, which describes the fields and search behavior of an index."
},
"IndexGetStatisticsResult": {
"GetIndexStatisticsResult": {
"properties": {
"documentCount": {
"type": "integer",
Expand All @@ -4782,7 +4782,7 @@
},
"description": "Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date."
},
"IndexListResult": {
"ListIndexesResult": {
"properties": {
"value": {
"x-ms-client-name": "Indexes",
Expand Down Expand Up @@ -5276,7 +5276,7 @@
},
"description": "A dictionary of http request headers."
},
"SkillsetListResult": {
"ListSkillsetsResult": {
"properties": {
"value": {
"x-ms-client-name": "Skillsets",
Expand Down Expand Up @@ -6263,7 +6263,7 @@
],
"description": "Represents a synonym map definition."
},
"SynonymMapListResult": {
"ListSynonymMapsResult": {
"properties": {
"value": {
"x-ms-client-name": "SynonymMaps",
Expand Down