Azure Search Service - Import from SQL Server on A

2019-07-28 09:29发布

I'm attempting to add a new data source from a SQL Server on Azure VM for a search service and indexer I'm creating through the Azure web portal. It's my understanding that I can create an index, import this data, then create an indexer to regularly push data to the index. I'm adding the connection string for our SQL Server and getting a successful message when clicking "Test Connection". The tables show up in a drop-down list, and I select one.

When I click "OK" on creating the new data source, a popup comes up that says "Sampling Data Source..." then an "Error detecting index schema from data source: 'Data source payload should specify at least one of datasource name and type'".

I've tried Googling this error, and I can't find anything on it and not sure how to fix it so I can proceed.

1条回答
放荡不羁爱自由
2楼-- · 2019-07-28 10:10

This looks like a bug in Azure Search portal support for SQL Server data sources. We'll investigate. In the meantime, you can create your datasource programmatically as shown in Connecting Azure SQL Database to Azure Search.

查看更多
登录 后发表回答