# 精确搜索查询时标签未在搜索结果中显示

**URL:** https://meta.discourse.org/t/tag-not-showing-in-search-results-when-exact-search-query/132550
**Category:** Bug
**Created:** [2019年十一月4日 16:32 UTC](https://meta.discourse.org/t/tag-not-showing-in-search-results-when-exact-search-query/132550 "2019-11-04T16:32:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [2019年十一月4日 16:32 UTC](https://meta.discourse.org/t/tag-not-showing-in-search-results-when-exact-search-query/132550/1 "2019-11-04T16:32:14Z")

</div>

在搜索几个标签时，我注意到即使输入的是完全匹配的搜索词，这些标签也不会出现在结果中。

这是否与 [这个问题](https://meta.discourse.org/t/internal-server-error-on-using-some-tags-error-duplicate-key-value-violates-unique-constraint-index-tags-on-name/131266/) 有关？（尽管这些特定的标签并没有遇到同样的问题）。

_我们在论坛上大量使用标签（每个主题至少需要一个标签），这是否可能是影响因素？_

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [2019年十一月5日 15:33 UTC](https://meta.discourse.org/t/tag-not-showing-in-search-results-when-exact-search-query/132550/2 "2019-11-05T15:33:28Z")

</div>

这个问题出现在哪个搜索字段中？是 Composer 吗？还是 `/search?expanded=true`？有哪些示例标签名称在搜索结果中未返回？

---

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [2019年十一月5日 17:52 UTC](https://meta.discourse.org/t/tag-not-showing-in-search-results-when-exact-search-query/132550/3 "2019-11-05T17:52:33Z")

</div>

你好，尼尔，这里是：

 ![20](https://global.discourse-cdn.com/meta/original/3X/7/3/735bc424430f08fe69c7e444e930024c45b92aaf.png)

示例：

测试  
凤凰城
