openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 181 kB
JSON
{"openapi":"3.0.0","info":{"description":"Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.","title":"SearchServiceClient","version":"2019-05-06-Preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/searchservice.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"search-searchservice","x-tags":["Azure","Microsoft"]},"paths":{"/datasources":{"get":{"description":"Lists all datasources available for a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/List-Data-Sources"},"operationId":"DataSources_List","parameters":[{"description":"Selects which top-level properties of the data sources to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.","in":"query","name":"$select","required":false,"schema":{"type":"string"},"examples":{"SearchServiceListDataSources":{"value":"*"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceListResult"},"examples":{"SearchServiceListDataSources":{"$ref":"#/components/examples/SearchServiceListDataSources"}}}}}},"tags":["DataSources"],"x-ms-request-id":"request-id"},"post":{"description":"Creates a new datasource.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"},"operationId":"DataSources_Create","parameters":[{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}},"description":"The definition of the datasource to create.","required":true},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"},"examples":{"SearchServiceCreateDataSource":{"$ref":"#/components/examples/SearchServiceCreateDataSource"}}}}}},"tags":["DataSources"],"x-ms-request-id":"request-id"}},"/datasources('{dataSourceName}')":{"delete":{"description":"Deletes a datasource.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Delete-Data-Source"},"operationId":"DataSources_Delete","parameters":[{"description":"The name of the datasource to delete.","in":"path","name":"dataSourceName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceDeleteDataSource":{"value":"mydatasource"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"204":{"description":""},"404":{"description":""}},"tags":["DataSources"],"x-ms-request-id":"request-id"},"get":{"description":"Retrieves a datasource definition.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Get-Data-Source"},"operationId":"DataSources_Get","parameters":[{"description":"The name of the datasource to retrieve.","in":"path","name":"dataSourceName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceGetDataSource":{"value":"mydatasource"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"},"examples":{"SearchServiceGetDataSource":{"$ref":"#/components/examples/SearchServiceGetDataSource"}}}}}},"tags":["DataSources"],"x-ms-request-id":"request-id"},"put":{"description":"Creates a new datasource or updates a datasource if it already exists.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source"},"operationId":"DataSources_CreateOrUpdate","parameters":[{"description":"The name of the datasource to create or update.","in":"path","name":"dataSourceName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceCreateOrUpdateDataSource":{"value":"mydatasource"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/PreferHeaderParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"}}},"description":"The definition of the datasource to create or update.","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"},"examples":{"SearchServiceCreateOrUpdateDataSource":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateDataSource"}}}}},"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSource"},"examples":{"SearchServiceCreateOrUpdateDataSource":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateDataSource"}}}}}},"tags":["DataSources"],"x-ms-request-id":"request-id"}},"/indexers":{"get":{"description":"Lists all indexers available for a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/List-Indexers"},"operationId":"Indexers_List","parameters":[{"description":"Selects which top-level properties of the indexers to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.","in":"query","name":"$select","required":false,"schema":{"type":"string"},"examples":{"SearchServiceListIndexers":{"value":"*"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexerListResult"},"examples":{"SearchServiceListIndexers":{"$ref":"#/components/examples/SearchServiceListIndexers"}}}}}},"tags":["Indexers"],"x-ms-request-id":"request-id"},"post":{"description":"Creates a new indexer.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"},"operationId":"Indexers_Create","parameters":[{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexer"}}},"description":"The definition of the indexer to create.","required":true},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexer"},"examples":{"SearchServiceCreateIndexer":{"$ref":"#/components/examples/SearchServiceCreateIndexer"}}}}}},"tags":["Indexers"],"x-ms-request-id":"request-id"}},"/indexers('{indexerName}')":{"delete":{"description":"Deletes an indexer.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Delete-Indexer"},"operationId":"Indexers_Delete","parameters":[{"description":"The name of the indexer to delete.","in":"path","name":"indexerName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceDeleteIndexer":{"value":"myindexer"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"204":{"description":""},"404":{"description":""}},"tags":["Indexers"],"x-ms-request-id":"request-id"},"get":{"description":"Retrieves an indexer definition.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Get-Indexer"},"operationId":"Indexers_Get","parameters":[{"description":"The name of the indexer to retrieve.","in":"path","name":"indexerName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceGetIndexer":{"value":"myindexer"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexer"},"examples":{"SearchServiceGetIndexer":{"$ref":"#/components/examples/SearchServiceGetIndexer"}}}}}},"tags":["Indexers"],"x-ms-request-id":"request-id"},"put":{"description":"Creates a new indexer or updates an indexer if it already exists.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"},"operationId":"Indexers_CreateOrUpdate","parameters":[{"description":"The name of the indexer to create or update.","in":"path","name":"indexerName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceCreateOrUpdateIndexer":{"value":"myindexer"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/PreferHeaderParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexer"}}},"description":"The definition of the indexer to create or update.","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexer"},"examples":{"SearchServiceCreateOrUpdateIndexer":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateIndexer"}}}}},"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexer"},"examples":{"SearchServiceCreateOrUpdateIndexer":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateIndexer"}}}}}},"tags":["Indexers"],"x-ms-request-id":"request-id"}},"/indexers('{indexerName}')/search.reset":{"post":{"description":"Resets the change tracking state associated with an indexer.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Reset-Indexer"},"operationId":"Indexers_Reset","parameters":[{"description":"The name of the indexer to reset.","in":"path","name":"indexerName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceResetIndexer":{"value":"myindexer"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"204":{"description":""}},"tags":["Indexers"],"x-ms-request-id":"request-id"}},"/indexers('{indexerName}')/search.run":{"post":{"description":"Runs an indexer on-demand.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Run-Indexer"},"operationId":"Indexers_Run","parameters":[{"description":"The name of the indexer to run.","in":"path","name":"indexerName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceRunIndexer":{"value":"myindexer"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"202":{"description":""}},"tags":["Indexers"],"x-ms-request-id":"request-id"}},"/indexers('{indexerName}')/search.status":{"get":{"description":"Returns the current status and execution history of an indexer.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Get-Indexer-Status"},"operationId":"Indexers_GetStatus","parameters":[{"description":"The name of the indexer for which to retrieve status.","in":"path","name":"indexerName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceGetIndexerStatus":{"value":"myindexer"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexerExecutionInfo"},"examples":{"SearchServiceGetIndexerStatus":{"$ref":"#/components/examples/SearchServiceGetIndexerStatus"}}}}}},"tags":["Indexers"],"x-ms-request-id":"request-id"}},"/indexes":{"get":{"description":"Lists all indexes available for a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/List-Indexes"},"operationId":"Indexes_List","parameters":[{"description":"Selects which top-level 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.","in":"query","name":"$select","required":false,"schema":{"type":"string"},"examples":{"SearchServiceListIndexes":{"value":"*"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexListResult"},"examples":{"SearchServiceListIndexes":{"$ref":"#/components/examples/SearchServiceListIndexes"}}}}}},"tags":["Indexes"],"x-ms-request-id":"request-id"},"post":{"description":"Creates a new search index.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Create-Index"},"operationId":"Indexes_Create","parameters":[{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Index"}}},"description":"The definition of the index to create.","required":true},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Index"},"examples":{"SearchServiceCreateIndex":{"$ref":"#/components/examples/SearchServiceCreateIndex"}}}}}},"tags":["Indexes"],"x-ms-request-id":"request-id"}},"/indexes('{indexName}')":{"delete":{"description":"Deletes a search index and all the documents it contains.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Delete-Index"},"operationId":"Indexes_Delete","parameters":[{"description":"The name of the index to delete.","in":"path","name":"indexName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceDeleteIndex":{"value":"myindex"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"204":{"description":""},"404":{"description":""}},"tags":["Indexes"],"x-ms-request-id":"request-id"},"get":{"description":"Retrieves an index definition.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Get-Index"},"operationId":"Indexes_Get","parameters":[{"description":"The name of the index to retrieve.","in":"path","name":"indexName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceGetIndex":{"value":"hotels"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Index"},"examples":{"SearchServiceGetIndex":{"$ref":"#/components/examples/SearchServiceGetIndex"}}}}}},"tags":["Indexes"],"x-ms-request-id":"request-id"},"put":{"description":"Creates a new search index or updates an index if it already exists.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Update-Index"},"operationId":"Indexes_CreateOrUpdate","parameters":[{"description":"The definition of the index to create or update.","in":"path","name":"indexName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceCreateOrUpdateIndex":{"value":"hotels"}}},{"description":"Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by taking the index offline for at least a few seconds. This temporarily causes indexing and query requests to fail. Performance and write availability of the index can be impaired for several minutes after the index is updated, or longer for very large indexes.","in":"query","name":"allowIndexDowntime","required":false,"schema":{"type":"boolean"},"examples":{"SearchServiceCreateOrUpdateIndex":{"value":false}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/PreferHeaderParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Index"}}},"description":"The definition of the index to create or update.","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Index"},"examples":{"SearchServiceCreateOrUpdateIndex":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateIndex"}}}}},"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Index"},"examples":{"SearchServiceCreateOrUpdateIndex":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateIndex"}}}}}},"tags":["Indexes"],"x-ms-request-id":"request-id"}},"/indexes('{indexName}')/search.analyze":{"post":{"description":"Shows how an analyzer breaks text into tokens.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/test-analyzer"},"operationId":"Indexes_Analyze","parameters":[{"description":"The name of the index for which to test an analyzer.","in":"path","name":"indexName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceIndexAnalyze":{"value":"hotels"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeRequest"}}},"description":"The text and analyzer or analysis components to test.","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeResult"},"examples":{"SearchServiceIndexAnalyze":{"$ref":"#/components/examples/SearchServiceIndexAnalyze"}}}}}},"tags":["Indexes"],"x-ms-request-id":"request-id"}},"/indexes('{indexName}')/search.stats":{"get":{"description":"Returns statistics for the given index, including a document count and storage usage.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Get-Index-Statistics"},"operationId":"Indexes_GetStatistics","parameters":[{"description":"The name of the index for which to retrieve statistics.","in":"path","name":"indexName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceGetIndexStatistics":{"value":"hotels"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexGetStatisticsResult"},"examples":{"SearchServiceGetIndexStatistics":{"$ref":"#/components/examples/SearchServiceGetIndexStatistics"}}}}}},"tags":["Indexes"],"x-ms-request-id":"request-id"}},"/servicestats":{"get":{"description":"Gets service level statistics for a search service.","operationId":"GetServiceStatistics","parameters":[{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceStatistics"},"examples":{"SearchServiceGetServiceStatistics":{"$ref":"#/components/examples/SearchServiceGetServiceStatistics"}}}}}},"tags":["Service"],"x-ms-request-id":"request-id"}},"/skillsets":{"get":{"description":"List all skillsets in a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/list-skillset"},"operationId":"Skillsets_List","parameters":[{"description":"Selects which top-level properties of the skillsets to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.","in":"query","name":"$select","required":false,"schema":{"type":"string"},"examples":{"SearchServiceListSkillsets":{"value":"*"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The list is successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkillsetListResult"},"examples":{"SearchServiceListSkillsets":{"$ref":"#/components/examples/SearchServiceListSkillsets"}}}}}},"tags":["Skillsets"],"x-ms-request-id":"request-id"},"post":{"description":"Creates a new skillset in a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/create-skillset"},"operationId":"Skillsets_Create","parameters":[{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Skillset"}}},"description":"The skillset containing one or more skills to create in a search service.","required":true},"responses":{"201":{"description":"The skillset is successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Skillset"},"examples":{"SearchServiceCreateSkillset":{"$ref":"#/components/examples/SearchServiceCreateSkillset"}}}}}},"tags":["Skillsets"],"x-ms-request-id":"request-id"}},"/skillsets('{skillsetName}')":{"delete":{"description":"Deletes a skillset in a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/delete-skillset"},"operationId":"Skillsets_Delete","parameters":[{"description":"The name of the skillset to delete.","in":"path","name":"skillsetName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceDeleteSkillset":{"value":"demoskillset"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"204":{"description":"The skillset is successfully deleted."},"404":{"description":"The provided skillset name is not found."}},"tags":["Skillsets"],"x-ms-request-id":"request-id"},"get":{"description":"Retrieves a skillset in a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/get-skillset"},"operationId":"Skillsets_Get","parameters":[{"description":"The name of the skillset to retrieve.","in":"path","name":"skillsetName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceGetSkillset":{"value":"demoskillset"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The skillset is successfully returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Skillset"},"examples":{"SearchServiceGetSkillset":{"$ref":"#/components/examples/SearchServiceGetSkillset"}}}}}},"tags":["Skillsets"],"x-ms-request-id":"request-id"},"put":{"description":"Creates a new skillset in a search service or updates the skillset if it already exists.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/update-skillset"},"operationId":"Skillsets_CreateOrUpdate","parameters":[{"description":"The name of the skillset to create or update.","in":"path","name":"skillsetName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceCreateOrUpdateSkillset":{"value":"demoskillset"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/PreferHeaderParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Skillset"}}},"description":"The skillset containing one or more skills to create or update in a search service.","required":true},"responses":{"200":{"description":"The skillset is successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Skillset"},"examples":{"SearchServiceCreateOrUpdateSkillset":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateSkillset"}}}}},"201":{"description":"The skillset is successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Skillset"},"examples":{"SearchServiceCreateOrUpdateSkillset":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateSkillset"}}}}}},"tags":["Skillsets"],"x-ms-request-id":"request-id"}},"/synonymmaps":{"get":{"description":"Lists all synonym maps available for a search service.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/List-Synonym-Maps"},"operationId":"SynonymMaps_List","parameters":[{"description":"Selects which top-level properties of the synonym maps to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.","in":"query","name":"$select","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymMapListResult"},"examples":{"SearchServiceListSynonymMaps":{"$ref":"#/components/examples/SearchServiceListSynonymMaps"}}}}}},"tags":["SynonymMaps"],"x-ms-request-id":"request-id"},"post":{"description":"Creates a new synonym map.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Create-Synonym-Map"},"operationId":"SynonymMaps_Create","parameters":[{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymMap"}}},"description":"The definition of the synonym map to create.","required":true},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymMap"},"examples":{"SearchServiceCreateSynonymMap":{"$ref":"#/components/examples/SearchServiceCreateSynonymMap"}}}}}},"tags":["SynonymMaps"],"x-ms-request-id":"request-id"}},"/synonymmaps('{synonymMapName}')":{"delete":{"description":"Deletes a synonym map.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Delete-Synonym-Map"},"operationId":"SynonymMaps_Delete","parameters":[{"description":"The name of the synonym map to delete.","in":"path","name":"synonymMapName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceDeleteSynonymMap":{"value":"mysynonymmap"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"204":{"description":""},"404":{"description":""}},"tags":["SynonymMaps"],"x-ms-request-id":"request-id"},"get":{"description":"Retrieves a synonym map definition.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Get-Synonym-Map"},"operationId":"SynonymMaps_Get","parameters":[{"description":"The name of the synonym map to retrieve.","in":"path","name":"synonymMapName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceGetSynonymMap":{"value":"mysynonymmap"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymMap"},"examples":{"SearchServiceGetSynonymMap":{"$ref":"#/components/examples/SearchServiceGetSynonymMap"}}}}}},"tags":["SynonymMaps"],"x-ms-request-id":"request-id"},"put":{"description":"Creates a new synonym map or updates a synonym map if it already exists.","externalDocs":{"url":"https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map"},"operationId":"SynonymMaps_CreateOrUpdate","parameters":[{"description":"The name of the synonym map to create or update.","in":"path","name":"synonymMapName","required":true,"schema":{"type":"string"},"examples":{"SearchServiceCreateOrUpdateSynonymMap":{"value":"mysynonymmap"}}},{"$ref":"#/components/parameters/ClientRequestIdParameter"},{"$ref":"#/components/parameters/IfMatchParameter"},{"$ref":"#/components/parameters/IfNoneMatchParameter"},{"$ref":"#/components/parameters/PreferHeaderParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymMap"}}},"description":"The definition of the synonym map to create or update.","required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymMap"},"examples":{"SearchServiceCreateOrUpdateSynonymMap":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateSynonymMap"}}}}},"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynonymMap"},"examples":{"SearchServiceCreateOrUpdateSynonymMap":{"$ref":"#/components/examples/SearchServiceCreateOrUpdateSynonymMap"}}}}}},"tags":["SynonymMaps"],"x-ms-request-id":"request-id"}}},"servers":[{"url":"https://azure.local"},{"url":"https://{searchServiceName}.{searchDnsSuffix}","variables":{"searchServiceName":{"description":"The name of the search service.","x-ms-parameter-location":"client","x-ms-skip-url-encoding":true,"default":"none"},"searchDnsSuffix":{"default":"search.windows.net","description":"The DNS suffix of the search service. The default is search.windows.net.","x-ms-parameter-location":"client","x-ms-skip-url-encoding":true}}}],"components":{"examples":{"SearchServiceListDataSources":{"value":{"value":[{"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"},"credentials":{},"dataChangeDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy","highWaterMarkColumnName":"_ts"},"dataDeletionDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy","softDeleteColumnName":"isDeleted","softDeleteMarkerValue":"true"},"description":"My Cosmos DB data source.","name":"mydocdbdatasource","type":"cosmosdb"}]}},"SearchServiceCreateDataSource":{"value":{"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"},"credentials":{},"dataChangeDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy","highWaterMarkColumnName":"_ts"},"dataDeletionDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy","softDeleteColumnName":"isDeleted","softDeleteMarkerValue":"true"},"description":"My Cosmos DB data source.","name":"mydocdbdatasource","type":"cosmosdb"}},"SearchServiceGetDataSource":{"value":{"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"},"credentials":{},"dataChangeDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy","highWaterMarkColumnName":"_ts"},"dataDeletionDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy","softDeleteColumnName":"isDeleted","softDeleteMarkerValue":"true"},"description":"My Cosmos DB data source.","name":"mydocdbdatasource","type":"cosmosdb"}},"SearchServiceCreateOrUpdateDataSource":{"value":{"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"},"credentials":{},"dataChangeDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy","highWaterMarkColumnName":"_ts"},"dataDeletionDetectionPolicy":{"@odata.type":"#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy","softDeleteColumnName":"isDeleted","softDeleteMarkerValue":"true"},"description":"My Cosmos DB data source.","name":"mydocdbdatasource","type":"cosmosdb"}},"SearchServiceListIndexers":{"value":{"value":[{"dataSourceName":"mydocdbdatasource","description":"a cool indexer","disabled":false,"fieldMappings":[],"name":"myindexer","parameters":{"maxFailedItems":10,"maxFailedItemsPerBatch":5},"schedule":{"interval":"PT1H","startTime":"2015-01-01T00:00:00Z"},"targetIndexName":"orders"},{"dataSourceName":"myblobdatasource","description":"another cool indexer","disabled":false,"fieldMappings":[{"mappingFunction":{"name":"extractTokenAtPosition","parameters":{"delimiter":" ","position":0}},"sourceFieldName":"PersonName","targetFieldName":"FirstName"},{"mappingFunction":{"name":"extractTokenAtPosition","parameters":{"delimiter":" ","position":1}},"sourceFieldName":"PersonName","targetFieldName":"LastName"}],"name":"myotherindexer","parameters":{"batchSize":15,"maxFailedItems":10,"maxFailedItemsPerBatch":5},"targetIndexName":"orders"}]}},"SearchServiceCreateIndexer":{"value":{"dataSourceName":"mydatasource","description":"a cool indexer","disabled":false,"fieldMappings":[],"name":"myindexer","parameters":{"maxFailedItems":10,"maxFailedItemsPerBatch":5},"schedule":{"interval":"PT1H","startTime":"2015-01-01T00:00:00Z"},"targetIndexName":"orders"}},"SearchServiceGetIndexer":{"value":{"dataSourceName":"mydatasource","description":"a cool indexer","disabled":false,"fieldMappings":[],"name":"myindexer","parameters":{"maxFailedItems":10,"maxFailedItemsPerBatch":5},"schedule":{"interval":"PT1H","startTime":"2015-01-01T00:00:00Z"},"targetIndexName":"orders"}},"SearchServiceCreateOrUpdateIndexer":{"value":{"dataSourceName":"mydatasource","description":"a cool indexer","disabled":false,"fieldMappings":[],"name":"myindexer","parameters":{"maxFailedItems":10,"maxFailedItemsPerBatch":5},"schedule":{"interval":"PT1H","startTime":"2015-01-01T00:00:00Z"},"targetIndexName":"orders"}},"SearchServiceGetIndexerStatus":{"value":{"executionHistory":[{"endTime":"2014-11-26T03:37:19.012Z","errors":[],"itemsFailed":0,"itemsProcessed":11,"startTime":"2014-11-26T03:37:18.853Z","status":"success","warnings":[]},{"endTime":"2014-11-26T03:28:12.007Z","errors":[{"errorMessage":"Document key cannot be missing or empty.","key":"","statusCode":400},{"details":"The file could not be parsed.","documentationLink":"https://go.microsoft.com/fwlink/?linkid=2049388","errorMessage":"Could not read the value of column 'foo' at index '0'.","key":"document id 1","name":"DocumentExtraction.AzureBlob.MyDataSource","statusCode":400}],"itemsFailed":2,"itemsProcessed":1,"startTime":"2014-11-26T03:28:10.125Z","status":"transientFailure","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."},{"details":"The skill did something that didn't break anything, nonetheless something we didn't expect happened, so it might be worth double checking.","documentationLink":"https://go.microsoft.com/fwlink/?linkid=2099692","key":"document id 2","message":"Document was truncated to 50000 characters.","name":"Enrichment.LanguageDetectionSkill.#4"}]}],"lastResult":{"endTime":"2014-11-26T03:37:19.012Z","errors":[],"itemsFailed":0,"itemsProcessed":11,"startTime":"2014-11-26T03:37:18.853Z","status":"success","warnings":[]},"limits":{"maxDocumentContentCharactersToExtract":4000000,"maxDocumentExtractionSize":256000000,"maxRunTime":"22:00:00"},"status":"running"}},"SearchServiceListIndexes":{"value":{"value":[{"analyzers":[{"@odata.type":"#Microsoft.Azure.Search.CustomAnalyzer","charFilters":["html_strip"],"name":"tagsAnalyzer","tokenizer":"standard_v2"}],"charFilters":[],"corsOptions":{"allowedOrigins":["tempuri.org"],"maxAgeInSeconds":60},"defaultScoringProfile":"geo","encryptionKey":{"keyVaultKeyName":"myKeyName","keyVaultKeyVersion":"myKeyVersion","keyVaultUri":"https://myKeyVault.vault.azure.net"},"fields":[{"facetable":true,"filterable":true,"key":true,"name":"hotelId","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"baseRate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Double"},{"facetable":false,"filterable":false,"key":false,"name":"description","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"fr.lucene","facetable":false,"filterable":false,"key":false,"name":"description_fr","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"hotelName","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"category","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"tagsAnalyzer","facetable":true,"filterable":true,"key":false,"name":"tags","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Collection(Edm.String)"},{"facetable":true,"filterable":true,"key":false,"name":"parkingIncluded","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"smokingAllowed","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"lastRenovationDate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.DateTimeOffset"},{"facetable":true,"filterable":true,"key":false,"name":"rating","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Int32"},{"facetable":false,"filterable":true,"key":false,"name":"location","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.GeographyPoint"}],"name":"hotels","scoringProfiles":[{"functions":[{"boost":5,"distance":{"boostingDistance":10,"referencePointParameter":"currentLocation"},"fieldName":"location","interpolation":"logarithmic","type":"distance"}],"name":"geo","text":{"weights":{"hotelName":5}}}],"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["hotelName"]}],"tokenFilters":[],"tokenizers":[]},{"analyzers":[],"charFilters":[],"fields":[{"facetable":false,"filterable":false,"key":true,"name":"id","retrievable":true,"searchable":false,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"facetable":false,"filterable":true,"key":false,"name":"hidden","retrievable":false,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Double"}],"name":"testindex","scoringProfiles":[],"suggesters":[],"tokenFilters":[],"tokenizers":[]}]}},"SearchServiceCreateIndex":{"value":{"analyzers":[{"@odata.type":"#Microsoft.Azure.Search.CustomAnalyzer","charFilters":["html_strip"],"name":"tagsAnalyzer","tokenizer":"standard_v2"}],"charFilters":[],"corsOptions":{"allowedOrigins":["tempuri.org"],"maxAgeInSeconds":60},"defaultScoringProfile":"geo","encryptionKey":{"accessCredentials":{"applicationId":"00000000-0000-0000-0000-000000000000"},"keyVaultKeyName":"myUserManagedEncryptionKey-createdinAzureKeyVault","keyVaultKeyVersion":"myKeyVersion-32charAlphaNumericString","keyVaultUri":"https://myKeyVault.vault.azure.net"},"fields":[{"facetable":true,"filterable":true,"key":true,"name":"hotelId","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"baseRate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Double"},{"facetable":false,"filterable":false,"key":false,"name":"description","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"fr.lucene","facetable":false,"filterable":false,"key":false,"name":"description_fr","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"hotelName","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"category","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"tagsAnalyzer","facetable":true,"filterable":true,"key":false,"name":"tags","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Collection(Edm.String)"},{"facetable":true,"filterable":true,"key":false,"name":"parkingIncluded","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"smokingAllowed","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"lastRenovationDate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.DateTimeOffset"},{"facetable":true,"filterable":true,"key":false,"name":"rating","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Int32"},{"facetable":false,"filterable":true,"key":false,"name":"location","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.GeographyPoint"}],"name":"hotels","scoringProfiles":[{"functions":[{"boost":5,"distance":{"boostingDistance":10,"referencePointParameter":"currentLocation"},"fieldName":"location","interpolation":"logarithmic","type":"distance"}],"name":"geo","text":{"weights":{"hotelName":5}}}],"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["hotelName"]}],"tokenFilters":[],"tokenizers":[]}},"SearchServiceGetIndex":{"value":{"analyzers":[{"@odata.type":"#Microsoft.Azure.Search.CustomAnalyzer","charFilters":["html_strip"],"name":"tagsAnalyzer","tokenizer":"standard_v2"}],"charFilters":[],"corsOptions":{"allowedOrigins":["tempuri.org"],"maxAgeInSeconds":60},"defaultScoringProfile":"geo","encryptionKey":{"accessCredentials":{"applicationId":"00000000-0000-0000-0000-000000000000"},"keyVaultKeyName":"myKeyName","keyVaultKeyVersion":"myKeyVersion","keyVaultUri":"https://myKeyVault.vault.azure.net"},"fields":[{"facetable":true,"filterable":true,"key":true,"name":"hotelId","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"baseRate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Double"},{"facetable":false,"filterable":false,"key":false,"name":"description","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"fr.lucene","facetable":false,"filterable":false,"key":false,"name":"description_fr","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"hotelName","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"category","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"tagsAnalyzer","facetable":true,"filterable":true,"key":false,"name":"tags","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Collection(Edm.String)"},{"facetable":true,"filterable":true,"key":false,"name":"parkingIncluded","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"smokingAllowed","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"lastRenovationDate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.DateTimeOffset"},{"facetable":true,"filterable":true,"key":false,"name":"rating","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Int32"},{"facetable":false,"filterable":true,"key":false,"name":"location","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.GeographyPoint"}],"name":"hotels","scoringProfiles":[{"functions":[{"boost":5,"distance":{"boostingDistance":10,"referencePointParameter":"currentLocation"},"fieldName":"location","interpolation":"logarithmic","type":"distance"}],"name":"geo","text":{"weights":{"hotelName":5}}}],"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["hotelName"]}],"tokenFilters":[],"tokenizers":[]}},"SearchServiceCreateOrUpdateIndex":{"value":{"analyzers":[{"@odata.type":"#Microsoft.Azure.Search.CustomAnalyzer","charFilters":["html_strip"],"name":"tagsAnalyzer","tokenizer":"standard_v2"}],"charFilters":[],"corsOptions":{"allowedOrigins":["tempuri.org"],"maxAgeInSeconds":60},"defaultScoringProfile":"geo","encryptionKey":{"keyVaultKeyName":"myUserManagedEncryptionKey-createdinAzureKeyVault","keyVaultKeyVersion":"myKeyVersion-32charAlphaNumericString","keyVaultUri":"https://myKeyVault.vault.azure.net"},"fields":[{"facetable":true,"filterable":true,"key":true,"name":"hotelId","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"baseRate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Double"},{"facetable":false,"filterable":false,"key":false,"name":"description","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"fr.lucene","facetable":false,"filterable":false,"key":false,"name":"description_fr","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"hotelName","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"facetable":true,"filterable":true,"key":false,"name":"category","retrievable":true,"searchable":true,"sortable":true,"synonymMaps":[],"type":"Edm.String"},{"analyzer":"tagsAnalyzer","facetable":true,"filterable":true,"key":false,"name":"tags","retrievable":true,"searchable":true,"sortable":false,"synonymMaps":[],"type":"Collection(Edm.String)"},{"facetable":true,"filterable":true,"key":false,"name":"parkingIncluded","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"smokingAllowed","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Boolean"},{"facetable":true,"filterable":true,"key":false,"name":"lastRenovationDate","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.DateTimeOffset"},{"facetable":true,"filterable":true,"key":false,"name":"rating","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.Int32"},{"facetable":false,"filterable":true,"key":false,"name":"location","retrievable":true,"searchable":false,"sortable":true,"synonymMaps":[],"type":"Edm.GeographyPoint"}],"name":"hotels","scoringProfiles":[{"functions":[{"boost":5,"distance":{"boostingDistance":10,"referencePointParameter":"currentLocation"},"fieldName":"location","interpolation":"logarithmic","type":"distance"}],"name":"geo","text":{"weights":{"hotelName":5}}}],"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["hotelName"]}],"tokenFilters":[],"tokenizers":[]}},"SearchServiceIndexAnalyze":{"value":{"tokens":[{"endOffset":4,"position":0,"startOffset":0,"token":"text"},{"endOffset":7,"position":1,"startOffset":5,"token":"to"},{"endOffset":15,"position":2,"startOffset":8,"token":"analyze"}]}},"SearchServiceGetIndexStatistics":{"value":{"documentCount":239572,"storageSize":72375920}},"SearchServiceGetServiceStatistics":{"value":{"counters":{"dataSourcesCount":{"quota":3,"usage":1},"documentCount":{"quota":10000,"usage":7093},"indexersCount":{"quota":3,"usage":3},"indexesCount":{"quota":3,"usage":3},"storageSize":{"quota":52428800,"usage":914529},"synonymMaps":{"quota":3,"usage":2}},"limits":{"maxComplexCollectionFieldsPerIndex":100,"maxComplexObjectsInCollectionsPerDocument":3000,"maxFieldNestingDepthPerIndex":10,"maxFieldsPerIndex":1000}}},"SearchServiceListSkillsets":{"value":{"value":[{"description":"Extract entities, detect language and extract key-phrases","name":"demoskillset","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","categories":["organization"],"defaultLanguageCode":"en","inputs":[{"name":"text","source":"/document/content"}],"minimumPrecision":0.7,"name":"#1","outputs":[{"name":"organizations","targetName":"organizations"}]},{"@odata.type":"#Microsoft.Skills.Text.LanguageDetectionSkill","inputs":[{"name":"text","source":"/document/content"}],"name":"#2","outputs":[{"name":"languageCode","targetName":"languageCode"}]},{"@odata.type":"#Microsoft.Skills.Text.SplitSkill","inputs":[{"name":"text","source":"/document/content"},{"name":"languageCode","source":"/document/languageCode"}],"maximumPageLength":4000,"name":