# Search function doesn't find keywords in urls

**URL:** https://meta.discourse.org/t/search-function-doesnt-find-keywords-in-urls/217845
**Category:** Bug
**Created:** [February 11, 2022, 3:51am UTC](https://meta.discourse.org/t/search-function-doesnt-find-keywords-in-urls/217845 "2022-02-11T03:51:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)
#### Post date: [February 11, 2022, 3:51am UTC](https://meta.discourse.org/t/search-function-doesnt-find-keywords-in-urls/217845/1 "2022-02-11T03:51:59Z")

</div>

When searching for a string that is present on the meta in a url (e.g. discourse-rewards) there are no results coming up even though this string exists in a url posted on meta. I’m not sure if this has bene discussed previously, I apologize beforehand in case my question is redundant.

---

<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: [February 11, 2022, 4:07am UTC](https://meta.discourse.org/t/search-function-doesnt-find-keywords-in-urls/217845/2 "2022-02-11T04:07:57Z")

</div>

I guess you are talking about:

> [@\[PAID\] Forum Contribution Points System](https://meta.discourse.org/t/paid-forum-contribution-points-system/198607/15):
>
> We already have this feature in the plugin. You can find our plugin here [GitHub - Ahmedgagan/discourse-rewards](https://github.com/Ahmedgagan/discourse-rewards) You can install the plugin and browse our settings in admin → settings And search for discourse rewards

The post tokenizes to:

`'/ahmedgagan/discourse-rewards':23 'admin':34 'alreadi':8 'brows':30 'com':22 'contribut':3A 'discours':39 'featur':11 'find':17 'forum':2A 'github.com':22 'github.com/ahmedgagan/discourse-rewards':21 'instal':26 'marketplac':6B 'paid':1A 'plugin':14,19,28 'point':4A 'reward':40 'search':37 'set':32,35 'system':5A`

I recall @tgxworld limited some of the URL splitting we do:

so: `https://github.com/Ahmedgagan/discourse-rewards `

Is now being split to: `github.com` and `github.com/ahmedgagan/discourse-rewards` and `'/ahmedgagan/discourse-rewards'`

I think limited splitting on path was deliberate here so we don’t bloat the index too much. We may be able to refine this, but not in the urgent list.

---

<div class="post-metadata">

### Author: ![Mr.X\_Mr.X](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mr.x_mr.x/32/126610_2.png) [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)
#### Post date: [February 11, 2022, 4:20am UTC](https://meta.discourse.org/t/search-function-doesnt-find-keywords-in-urls/217845/3 "2022-02-11T04:20:45Z")

</div>

I often encounter this on meta when searching for a plugin that is posted as link. I guess in the future it could be a good idea.
