# 搜索时请求过多

**URL:** https://meta.discourse.org/t/too-many-requests-while-searching/286781
**Category:** Bug
**Tags:** search
**Created:** [2023年十一月27日 22:38 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781 "2023-11-27T22:38:24Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2023年十一月27日 22:38 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781/1 "2023-11-27T22:38:24Z")

</div>

我每隔多久可以搜索一次？  
我觉得有什么不对劲，还是应该这样工作？

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2023年十一月27日 23:12 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781/2 "2023-11-27T23:12:38Z")

</div>

是的，我认为那些错误意味着有些东西坏了。  
搜索我的名字可能把它搞砸了，哈哈 😆

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2023年十一月27日 23:32 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781/3 "2023-11-27T23:32:05Z")

</div>

这似乎与语义搜索有关。它正以闪电般的速度触发大量请求。

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2023年十一月27日 23:37 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781/4 "2023-11-27T23:37:31Z")

</div>

是的，有些问题，团队会查看！

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/6/3/a63bb7ebc8cdd7c68f0b9d3d381847d24e6c5742.png)

我们不应该看到这种情况发生多次，看起来这些是100%重复的请求。

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2023年十一月28日 01:53 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781/8 "2023-11-28T01:53:14Z")

</div>

修复已上线……我们很快就会在此处更新。

> <https://github.com/discourse/discourse-ai/pull/318>
>
> \`didUpdate\` causing \`performHyDESearch()\` to be called numerous times for a sing…le search, resulting in \`429\` error when a search is triggered. Also, it is not necessary, the \`didInsert\` used here is sufficient.
> 
> No specs yet, as specs were incomplete due to waiting for LLM abstraction feature and will require more time to get done, but want to ensure this high priority fix is added soon. Will add specs altogether in a separate PR.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2023年十一月28日 09:00 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781/9 "2023-11-28T09:00:58Z")

</div>

我还是收到错误。

 ![_20231128_100012](https://global.discourse-cdn.com/meta/original/4X/5/1/5/51537c634e2bb17e44d952cfe45cc7d65ab6ccc3.jpeg)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2023年十一月28日 21:00 UTC](https://meta.discourse.org/t/too-many-requests-while-searching/286781/10 "2023-11-28T21:00:52Z")

</div>

该主题在 19 小时后自动关闭。不再允许回复。
