如何使用 python 将索引添加到我的 Azure 搜索服务?

How can i add an index to my Azure Search Service using python?

有人可以向我提供 python 在 Azure 搜索中添加索引的代码吗?

查看 this pageReferences 部分,截至今天,没有 Python SDK 可用于在 Azure 搜索帐户中创建索引。

您需要直接在代码中使用 REST API。您可以在此处阅读有关创建索引的 REST API 文档:https://docs.microsoft.com/en-us/rest/api/searchservice/create-index.