# Search within topic is omitting results

**URL:** <https://meta.discourse.org/t/search-within-topic-is-omitting-results/42982>\
**Category:** Bug\
**Created:** [2016 年4 月 22 日 11:07 UTC](https://meta.discourse.org/t/search-within-topic-is-omitting-results/42982 "2016-04-22T11:07:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)\
发布日期： [2016 年4 月 22 日 11:07 UTC](https://meta.discourse.org/t/search-within-topic-is-omitting-results/42982/1 "2016-04-22T11:07:21Z")

</div>

This issue was first brought to my attention some days ago by a forum member, and I’ve since noticed it on a few occasions, but I’ve been unable to establish the cause. (By it’s very nature, it’s hard to spot when it happens.)

We have [an ongoing game thread](https://www.sitepoint.com/community/t/the-polite-four-letter-word-game/196210) where we use search to check that an entry has not been posted previously. A search for “legs” in that thread shows it in the wiki post #1, and also at [post #2503](https://www.sitepoint.com/community/t/the-polite-four-letter-word-game/196210/2503?u=technobear) by SuperTed, but it omits the earlier post by FemaleAdda at [#2430](https://www.sitepoint.com/community/t/the-polite-four-letter-word-game/196210/2430?u=technobear).

 ![](https://global.discourse-cdn.com/meta/original/3X/b/6/b623b48fa1a3ec18e6e21ab10c35672d815dcb3e.png) 

There is no formatting or anything in the omitted post to explain this, as far as I can see.

 ![](https://global.discourse-cdn.com/meta/original/3X/9/0/9035504c8340966175ca2bdda6e0f89a1ce38b47.png)

I thought it might just be a glitch caused by the length of that topic, but I’ve since encountered it elsewhere. For example [here](https://www.sitepoint.com/community/t/how-to-increase-our-site-traffic-with-smo/212097/40?u=technobear):

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

“Trending” doesn’t appear in the search results, although it’s clearly in the post. Likewise “hashtags”:

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

But a general search (rather than topic search) _does_ show that post:

 ![](https://global.discourse-cdn.com/meta/original/3X/8/b/8bd7277ea5adcb92dae7d14cff208a0a97bce1b4.png)

The term “trending hashtag” also appears in [an earlier post](https://www.sitepoint.com/community/t/how-to-increase-our-site-traffic-with-smo/212097/3?u=technobear) in that topic, but does not appear in a topic search for either of those terms. In both these cases, the term is in a list, which I thought might be causing an issue, but [this post](https://www.sitepoint.com/community/t/how-to-increase-our-site-traffic-with-smo/212097/41?u=technobear) in the same topic has no lists and doesn’t appear in topic search for any of the terms I tried.

Bizarrely, if I search for “quality”, it doesn’t show post #40 in the results, but does show my reply - including the instance where I quoted that post.

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

The term “quality” also appears in posts #14, #16 and #37 in that topic - none of which appeaars in the search results.

I use this kind of search extensively, where I think I’ve seen a post - or something very similar - before, and I want to check whether it’s been copied from earlier in the topic. At the moment, it’s not reliable. Unfortunately, I cannot find any common factor in the omitted results.

---

_[View the full topic](https://meta.discourse.org/t/search-within-topic-is-omitting-results/42982)._
