搜索结果错误 API

Wrong results with Search API

我想检索存储库中已关闭问题的数量。

通过 GET /search/issues?q=repo:tidyverse/dplyr+type:issue+state:closed 我得到:

total_count 3322
incomplete_results  false

但是 here 我可以看到目前有 3334 个已关闭的问题:

为什么相差 12?

我已经联系了 GitHub 支持,他们触发了对该存储库中问题的手动重新索引,因此搜索结果现在是一致的。

然而他们说它可能会再次发生:

Unfortunately this isn't a trivial issue, and although our engineering team are continuing to investigate this - we don't have a timeline on this being 100% resolved, 100% of the time.