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

Search SDK: Updates and fixes to Azure Search Swagger specs #26

Merged
merged 1 commit into from
Oct 15, 2015
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
14 changes: 12 additions & 2 deletions search/2015-02-28/swagger/searchindex.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,21 @@
},
"definitions": {
"IndexResult": {
"properties": {}
"properties": {
"key": {
"type": "string",
"description": "Gets the key of a document that was in the indexing request."
},
"errorMessage": {
"type": "string",
"description": "Gets the error message explaining why the indexing operation failed for the document identified by Key; null if Succeeded is true."
}
},
"description": "Status of an indexing operation for a single document."
},
"DocumentIndexResult": {
"properties": {
"results": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/IndexResult"
Expand Down
51 changes: 18 additions & 33 deletions search/2015-02-28/swagger/searchservice.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,13 @@
"url": "https://msdn.microsoft.com/library/azure/dn798923.aspx"
},
"parameters": [
{
"name": "$select",
"in": "query",
"required": false,
"type": "string",
"description": "Selects which properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
Expand Down Expand Up @@ -775,6 +782,7 @@
"properties": {
"interval": {
"type": "string",
"format": "duration",
"description": "Gets or sets the interval of time between indexer executions."
},
"startTime": {
Expand Down Expand Up @@ -966,30 +974,6 @@
"type": "string",
"description": "Gets or sets the data type of the field."
},
"key": {
"type": "boolean",
"description": "Gets or sets a value indicating whether the field is the key of the index. Valid only for string fields. Every index must have exactly one key field."
},
"searchable": {
"type": "boolean",
"description": "Gets or sets a value indicating whether the field is included in full-text searches. Valid only forstring or string collection fields. Default is false."
},
"filterable": {
"type": "boolean",
"description": "Gets or sets a value indicating whether the field can be used in filter expressions. Default is false."
},
"sortable": {
"type": "boolean",
"description": "Gets or sets a value indicating whether the field can be used in orderby expressions. Not valid for string collection fields. Default is false."
},
"facetable": {
"type": "boolean",
"description": "Gets or sets a value indicating whether it is possible to facet on this field. Not valid for geo-point fields. Default is false."
},
"retrievable": {
"type": "boolean",
"description": "Gets or sets a value indicating whether the field can be returned in a search result. Default is true."
},
"analyzer": {
"externalDocs": {
"url": "https://msdn.microsoft.com/library/azure/dn879793.aspx"
Expand Down Expand Up @@ -1100,6 +1084,7 @@
"properties": {
"boostingDuration": {
"type": "string",
"format": "duration",
"description": "Gets or sets the expiration period after which boosting will stop for a particular document."
}
},
Expand Down Expand Up @@ -1341,13 +1326,13 @@
"description": "Response from a List Indexes request. If successful, it includes the full definitions of all indexes."
}
},
"parameters": {
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "Client Api Version."
}
"parameters": {
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "Client Api Version."
}
}
}
}