# 如何查找搜索特定关键字的用户？

**URL:** <https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205>\
**Category:** Support\
**Created:** [2021年六月8日 20:41 UTC](https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205 "2021-06-08T20:41:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)\
**Post date:** [2021年六月11日 19:04 UTC](https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205/2 "2021-06-11T19:04:00Z")

</div>

您可以检查 `search_logs` 表。您可以在数据探索插件中使用以下查询：

```plaintext
-- [params]
-- string :word = my_word
SELECT * from search_logs where term = :word

```

例如，在我的网站上，我想查询谁搜索了 `rainbow` 这个词：

 ![Screen Shot 2021-06-11 at 15.02.17](https://global.discourse-cdn.com/meta/original/3X/1/d/1d50f114c6a292de251e1d5da767c4343b90bc23.png)

---

_[View the full topic](https://meta.discourse.org/t/how-to-find-which-user-searched-specific-keyword/193205)._
