Azure搜索服务-从Azure VM上的SQL Server导入失败(“数据源有效负载应至少指定数据源名称和类型之一) [英] Azure Search Service - Import from SQL Server on Azure VM failing ('Data source payload should specify at least one of datasource name and type)

查看:137
本文介绍了Azure搜索服务-从Azure VM上的SQL Server导入失败(“数据源有效负载应至少指定数据源名称和类型之一)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从Azure VM上的SQL Server添加新数据源,用于通过Azure Web门户创建的搜索服务和索引器。据我了解,我可以创建索引,导入此数据,然后创建索引器以定期将数据推入索引。我正在为SQL Server添加连接字符串,并在单击测试连接时收到一条成功消息。这些表显示在一个下拉列表中,我选择一个。

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'".

我尝试了Google搜索此错误,但找不到任何内容

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.

推荐答案

这看起来像是Azure搜索门户支持中的错误SQL Server数据源。
我们将进行调查。同时,您可以以编程方式创建数据源,如将Azure SQL数据库连接到Azure搜索

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.

这篇关于Azure搜索服务-从Azure VM上的SQL Server导入失败(“数据源有效负载应至少指定数据源名称和类型之一)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆