从 AZURE SEARCH 索引查询时,我们是否必须在任何地方定义 url

Do we have to define url anywhere while querying from AZURE SEARCH index

使用 C# 的 AZURE 搜索是否仅基于 ServiceName、IndexName 和 APIKEY。

我们为什么不使用 URL?

我已经查看了很多关于仅由 APIKEY 引导的所有内容的文档。 那URL有什么用呢?

因为在从 Post master 查询时,我们也在使用 URL 和服务版本,但在查询表单 C# 时不是。

知道搜索服务名称等同于知道 API URL。 从 documentation 中获得搜索服务名称后,您可以像这样构建 URL:

GET https://[search service name].search.windows.net/indexes?api-version=2019-05-06