# Discourse's internal search does not find the phrase «PagedownCustom», but Google does

**URL:** https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406
**Category:** Bug
**Tags:** search
**Created:** [November 10, 2015, 5:07am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406 "2015-11-10T05:07:32Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [November 10, 2015, 5:07am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/1 "2015-11-10T05:07:32Z")

</div>

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

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

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [November 10, 2015, 5:35am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/2 "2015-11-10T05:35:18Z")

</div>

That “word” is not a “word” but part of code i.e.  
`window.PagedownCustom.appendButtons.push`

If you search for that here, the topics are found and returned in the results

Also works with the partial  
`window.PagedownCustom`

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [November 10, 2015, 8:48am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/3 "2015-11-10T08:48:06Z")

</div>

Okay, so how do we change the word splitter then?

---

<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: [November 10, 2015, 9:30am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/4 "2015-11-10T09:30:38Z")

</div>

The long term solution is to stop leaning on the tokenizer and stemmer it keeps failing us

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [May 13, 2016, 7:44pm UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/5 "2016-05-13T19:44:23Z")

</div>

Two more related topics for reference:  
[https://meta.discourse.org/t/full-text-search-and-words-delimited-by-punctuation/15481?u=deanmarktaylor](https://meta.discourse.org/t/full-text-search-and-words-delimited-by-punctuation/15481)

> [@Searching results not displaying expected topics](https://meta.discourse.org/t/searching-results-not-displaying-expected-topics/44209):
>
> Continuing the discussion from [Missing English text `[en.admin.embedding.embed_classname_whitelist]`](https://meta.discourse.org/t/missing-english-text-en-admin-embedding-embed-classname-whitelist/44198/3): I was expecting a search for embed\_classname\_whitelist to return results that mentioned [en.admin.embedding.embed\_classname\_whitelist]. Whilst this might just be because of word-break characters . and ] they are still word-break characters and the results are still unexpected. Steps to reproduce Search meta for embed\_classname\_whitelist Expected result Search results should include the fol…

---

<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: [July 25, 2016, 6:28am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/6 "2016-07-25T06:28:32Z")

</div>

2 posts were split to a new topic: [Search within topic ignoring oneboxed content](https://meta.discourse.org/t/search-within-topic-ignoring-oneboxed-content/47742)

---

<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: [July 25, 2016, 6:50am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/7 "2016-07-25T06:50:58Z")

</div>

This.is.now.fixanated.via :

[https://github.com/discourse/discourse/commit/12ecf8624a97c3d33aaa3cd56851b5f1ca347c90](https://github.com/discourse/discourse/commit/12ecf8624a97c3d33aaa3cd56851b5f1ca347c90)

History is a bit tricky, but we are going to rebake at some point and pick it up, so for the time being old stuff needs an edit.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/2/123e8503eac341c1b603498c5969370739c5426b.png)

---

<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: [July 25, 2016, 7:49am UTC](https://meta.discourse.org/t/discourses-internal-search-does-not-find-the-phrase-pagedowncustom-but-google-does/35406/8 "2016-07-25T07:49:25Z")

</div>


