Azure 搜索索引器未在 3 分钟前更新
Azure search indexer not updating before 3 minute
我正在使用 azure-search
并且能够将索引器映射到数据库。到这里为止一切似乎都很好。
我想更新我的索引器 automatically/manually 每秒 以保持 azure search
更新。每次获取数据时 created/updated azure 搜索索引器应尽快更新以提供最佳用户体验。
在 DOC 中写道,索引器可以每 5 分钟更新一次。
An indexer can re-index your table at most every five minutes. If your
data changes frequently, and the changes need to be reflected in the
index within seconds or single minutes, we recommend using the REST
API or .NET SDK to push updated rows directly.
我尝试了 RESET API,但它也有 3 分钟 的限制。如果在尝试频繁更新索引器时出现以下错误,则会出现此错误。这个限制是因为免费搜索计划吗?
{
"error": {
"code": "",
"message": "On-demand indexer invocation is permitted every 180 seconds for this service tier."
}
}
有什么建议吗?
Is this limitation is because of free search plan?
您可以从这条 document 评论中得到答案。根据 Eugenesh@MSFT 的说法,这是免费搜索的限制 plan.Paid 层级不限制您可以 运行 索引器的频率。
paid tiers do not limit how frequently you can run an indexer.
我正在使用 azure-search
并且能够将索引器映射到数据库。到这里为止一切似乎都很好。
我想更新我的索引器 automatically/manually 每秒 以保持 azure search
更新。每次获取数据时 created/updated azure 搜索索引器应尽快更新以提供最佳用户体验。
在 DOC 中写道,索引器可以每 5 分钟更新一次。
An indexer can re-index your table at most every five minutes. If your data changes frequently, and the changes need to be reflected in the index within seconds or single minutes, we recommend using the REST API or .NET SDK to push updated rows directly.
我尝试了 RESET API,但它也有 3 分钟 的限制。如果在尝试频繁更新索引器时出现以下错误,则会出现此错误。这个限制是因为免费搜索计划吗?
{
"error": {
"code": "",
"message": "On-demand indexer invocation is permitted every 180 seconds for this service tier."
}
}
有什么建议吗?
Is this limitation is because of free search plan?
您可以从这条 document 评论中得到答案。根据 Eugenesh@MSFT 的说法,这是免费搜索的限制 plan.Paid 层级不限制您可以 运行 索引器的频率。
paid tiers do not limit how frequently you can run an indexer.