# The term "ost.io" creates trouble for search

**URL:** https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982
**Category:** Bug
**Created:** [July 11, 2015, 12:45pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982 "2015-07-11T12:45:07Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [July 11, 2015, 12:45pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/1 "2015-07-11T12:45:07Z")

</div>

Search “[ost.io](http://ost.io)” and you won’t find this thread:

[https://meta.discourse.org/t/can-discourse-do-what-ost-io-does/11737](https://meta.discourse.org/t/can-discourse-do-what-ost-io-does/11737)

Which has [ost.io](http://ost.io) in both the title and the post body.

---

<div class="post-metadata">

### Author: ![Hector](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Hector](https://meta.discourse.org/u/Hector)
#### Post date: [July 11, 2015, 4:04pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/2 "2015-07-11T16:04:13Z")

</div>

It seems it can’t find anything ended in io, eg: [astronomers.io](http://astronomers.io), [popcorntime.io](http://popcorntime.io). Also others like moter8.pw. And sometimes even part of the url: zenhub or bughubapp.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [July 11, 2015, 4:12pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/3 "2015-07-11T16:12:24Z")

</div>

Well the odd thing is that when I search for “[ost.io](http://ost.io)” it’ll turn up results for this topic and another one where the term is used, but not that older topic where it was first mentioned.

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

---

<div class="post-metadata">

### Author: ![Hector](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Hector](https://meta.discourse.org/u/Hector)
#### Post date: [July 11, 2015, 4:28pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/4 "2015-07-11T16:28:15Z")

</div>

If it’s not a link it works. Notice that all the terms I entered can be found in this topic. In the other use of [Ost.io](http://Ost.io) that it finds (the one with the capital O) the link does not include the dot ([https://changelog.com/](https://changelog.com/) **ostio** -add-a-forum-to-your-github-project/

---

<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 11, 2015, 10:51pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/6 "2015-07-11T22:51:04Z")

</div>

I really think snowball and the default english tokanization pg uses creates lots of issues.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [July 12, 2015, 10:13am UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/7 "2015-07-12T10:13:24Z")

</div>

Is there a place we could forward this issue to then?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 12, 2015, 8:51pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/8 "2015-07-12T20:51:25Z")

</div>

One thing we are direly missing is quoted exact term search e.g. “Manifold carburetor” should match only that string in that order.

---

<div class="post-metadata">

### Author: ![AmiAthena](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amiathena/32/116030_2.png) [@AmiAthena](https://meta.discourse.org/u/AmiAthena)
#### Post date: [July 14, 2015, 2:43am UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/9 "2015-07-14T02:43:56Z")

</div>

In case that functionality isn’t included in what you said: I’d also like to have that for individual words. I tried to search for “top” and got soooo many hits for “topic,” and while it’s often quite helpful to get results for permutations of the word, in this case it rendered the search pretty much useless.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [August 8, 2015, 1:17pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/10 "2015-08-08T13:17:02Z")

</div>

Dropping by to add another use case that’s hurt by this:

Having forgotten this bug, I just dropped by [talk.jekyllrb.com](http://talk.jekyllrb.com) and searched “3.0 eta”, looking for a topic I knew already existed. This search garnered no results of course, while “eta” got me exactly what I wanted.

The fact that you actually _lose_ search results by including an invalid search term can be pretty detrimental on technical forums where searching for specific versions is not uncommon.

---

<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: [August 10, 2015, 7:49am UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/11 "2015-08-10T07:49:42Z")

</div>

A bug indeed,

I just fixed it:

[https://github.com/discourse/discourse/commit/139314c2133fb74a9e94ffbdc92f3551de279bea](https://github.com/discourse/discourse/commit/139314c2133fb74a9e94ffbdc92f3551de279bea)

Also added some rudimentary support for exact term matching.

Will take a bit till it is live here, cause rubygems is having a minor freakout at the moment.

---

<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: [August 10, 2015, 7:49am UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/12 "2015-08-10T07:49:45Z")

</div>



---

<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: [August 10, 2015, 12:21pm UTC](https://meta.discourse.org/t/the-term-ost-io-creates-trouble-for-search/30982/13 "2015-08-10T12:21:04Z")

</div>

done and working…

[https://meta.discourse.org/search?q=%22quoted%20exact%20term%22](https://meta.discourse.org/search?q=%22quoted%20exact%20term%22)

vs

[https://meta.discourse.org/search?q=quoted%20exact%20term](https://meta.discourse.org/search?q=quoted%20exact%20term)
