# 桌面搜索问题

**URL:** https://meta.discourse.org/t/trouble-with-desktop-search/285952
**Category:** Bug
**Tags:** ai, ai-search
**Created:** [2023年十一月18日 23:34 UTC](https://meta.discourse.org/t/trouble-with-desktop-search/285952 "2023-11-18T23:34:39Z")
**Posts on this page:** 4
**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年十一月18日 23:34 UTC](https://meta.discourse.org/t/trouble-with-desktop-search/285952/1 "2023-11-18T23:34:39Z")

</div>

为了找出背景是否也会干扰桌面模式下的搜索结果，我搜索了“search”。我注意到最初顶部显示了 92 个搜索结果。但是，我只能看到 50 个。不知何故，其他的似乎无法加载。然后我刷新了页面。现在有 50 多个结果，我也能看到第 51 个结果。加载过程正常。第一次搜索是不是有什么问题？

---

<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年十一月19日 13:08 UTC](https://meta.discourse.org/t/trouble-with-desktop-search/285952/2 "2023-11-19T13:08:11Z")

</div>

> [@Issues with search on meta](https://meta.discourse.org/t/issues-with-search-on-meta/285970/8?u=moin):
>
> I’ve turned off ai embeddings semantic search enabled and it does seem to fix it for me. Can anyone else confirm?

似乎可以解决此问题

---

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [2023年十一月22日 19:11 UTC](https://meta.discourse.org/t/trouble-with-desktop-search/285952/4 "2023-11-22T19:11:42Z")

</div>

感谢 @Moin 发现此问题！

此问题现已解决，截至：🎉

> <https://github.com/discourse/discourse-ai/pull/302>
>
> \*\*This PR fixes an issue where more results (page 2 and on) were not appearing o…n scroll.\*\*
> 
> Previously we were using CSS to visually hide AI results from the page by default. This resulted in the end of page results never being hit when scrolling to the bottom, and thereby preventing \`loadMore()\` from being called to render additional results.
> 
> In this PR we update the implementation of AI results so the results are physically added and removed from the DOM when toggled, allowing for \`loadMore()\` to be accurately called.
> 
> \_Again no specs here for now till we update the LLM abstraction.\_

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年十一月25日 08:00 UTC](https://meta.discourse.org/t/trouble-with-desktop-search/285952/7 "2023-11-25T08:00:16Z")

</div>

此主题在 2 天后自动关闭。不再允许回复。
