# \[SOLVED\] Search messages with URL keyword returns no results found

**URL:** <https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068>\
**Category:** Troubleshooting\
**Created:** [March 21, 2017, 10:33am UTC](https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068 "2017-03-21T10:33:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zsekol](https://avatars.discourse-cdn.com/v4/letter/z/e68b1a/32.png) [@zsekol](https://forum.mattermost.com/u/zsekol)\
**Post date:** [March 21, 2017, 10:33am UTC](https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068/1 "2017-03-21T10:33:55Z")

</div>

Hi,

I am trying to search messages with keyword _[http://google.com](http://google.com)_ (e.g. friend sent me the message containing link to some page) and there are no results found. It seems that search engine on our Team 3.7.1 (and Team 3.3.0 also) cannot find messages when search keyword is an URL.

Can anyone help me with this matter or point me to right direction?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [March 23, 2017, 9:16am UTC](https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068/2 "2017-03-23T09:16:19Z")

</div>

Hi @zsekol

Thanks for your question!

Could you share more about which database you’re using? It’s a known issue in Postgres databases that URLs don’t show up in search results. You can read more about known issues in the [changelog](https://docs.mattermost.com/guides/administrator.html#changelog).

Let us know if this is not your issue!

---

<div class="post-metadata">

**Author:** ![zsekol](https://avatars.discourse-cdn.com/v4/letter/z/e68b1a/32.png) [@zsekol](https://forum.mattermost.com/u/zsekol)\
**Post date:** [March 24, 2017, 7:49am UTC](https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068/3 "2017-03-24T07:49:55Z")

</div>

Hi @lindy65

thank you for the quick answer and the guidelines.

We do use PostgreSQL and I was able to find known issue in changelog that you’ve mentioned.

I believe that this is the issue.

Thank you once again, kind regards.

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [March 24, 2017, 9:53am UTC](https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068/4 "2017-03-24T09:53:36Z")

</div>

Glad we could be of assistance @zsekol! I’ll close this issue off for now. If there’s anything else we can help with, please let us know 🙂

---

<div class="post-metadata">

**Author:** ![mcevoli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mcevoli/32/206_2.png) [@mcevoli](https://forum.mattermost.com/u/mcevoli)\
**Post date:** [December 14, 2019, 4:59pm UTC](https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068/5 "2019-12-14T16:59:22Z")

</div>

I’m reviving this topic because I’d like to know how I can search for URL/links from Mattermost w/ postgresql. I understand there is a bug somewhere, but is there any workaround? Has anyone thought about writing a plugin for that, such as the File list plugin?

Thanks in advance,

Marco

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [December 16, 2019, 4:56am UTC](https://forum.mattermost.com/t/solved-search-messages-with-url-keyword-returns-no-results-found/3068/6 "2019-12-16T04:56:03Z")

</div>

Hi, @mcevoli

I believe that the PostgreSQL issue that you are concerned about refers to the [here](https://docs.mattermost.com/administration/changelog.html#id525) which dates back to the following:

- Mattermost 3.10:

> On Postgres databases, searching for websites and emails does not work properly and hashtags which end with an inverted questionmark aren’t properly highlighted.

- Mattermost 3.0.3:

> On Postgres databases, searching for websites, emails, and searching with quotations does not work properly.

I searched for the bug and came across [MM-4398 - Postgres: Searching email/website does not return any results](https://mattermost.atlassian.net/browse/MM-4398) but it was closed already. @jwilander do you happen to know if there is any plan on having this supported in the future?
