# Search messages by text

**URL:** https://forum.social.plus/t/search-messages-by-text/227
**Category:** Web
**Created:** [July 21, 2021, 3:00pm UTC](https://forum.social.plus/t/search-messages-by-text/227 "2021-07-21T15:00:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![wzulfikar](https://avatars.discourse-cdn.com/v4/letter/w/a698b9/32.png) [@wzulfikar](https://forum.social.plus/u/wzulfikar)
#### Post date: [July 21, 2021, 3:00pm UTC](https://forum.social.plus/t/search-messages-by-text/227/1 "2021-07-21T15:00:33Z")

</div>

Hello, is it possible to search messages by text? I’m looking at the web sdk [here](https://docs.amity.co/chat/web/messaging) but couldn’t find any hint for it.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/7cab1d23d8982c7c8df1e3269a2c1e8ef18b1db2.jpeg)

---

<div class="post-metadata">

### Author: ![stevenamity](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@stevenamity](https://forum.social.plus/u/stevenamity)
#### Post date: [July 21, 2021, 3:01pm UTC](https://forum.social.plus/t/search-messages-by-text/227/2 "2021-07-21T15:01:51Z")

</div>

@wzulfikar thanks for your question

Unfortunately searching message by text is currently not supported

---

<div class="post-metadata">

### Author: ![wzulfikar](https://avatars.discourse-cdn.com/v4/letter/w/a698b9/32.png) [@wzulfikar](https://forum.social.plus/u/wzulfikar)
#### Post date: [July 21, 2021, 3:03pm UTC](https://forum.social.plus/t/search-messages-by-text/227/3 "2021-07-21T15:03:34Z")

</div>

Thanks for your prompt reply! Is it planned for upcoming feature or it’s not something that will come soon?

---

<div class="post-metadata">

### Author: ![touchaponk](https://avatars.discourse-cdn.com/v4/letter/t/ec9cab/32.png) [@touchaponk](https://forum.social.plus/u/touchaponk)
#### Post date: [July 21, 2021, 3:07pm UTC](https://forum.social.plus/t/search-messages-by-text/227/4 "2021-07-21T15:07:22Z")

</div>

Hi @wzulfikar - we do expose all posts / messages / comment via google pubsub that can be stored into an external Elasticsearch for custom search purpose - please see here: [Real-Time Events - Amity Docs](https://docs.amity.co/console/settings/real-time-events)

There’s also a ready-made extension that can be deployed to subscribe to those events and write to Elasticsearch

---

<div class="post-metadata">

### Author: ![wzulfikar](https://avatars.discourse-cdn.com/v4/letter/w/a698b9/32.png) [@wzulfikar](https://forum.social.plus/u/wzulfikar)
#### Post date: [July 21, 2021, 3:09pm UTC](https://forum.social.plus/t/search-messages-by-text/227/5 "2021-07-21T15:09:58Z")

</div>

Can you give a link to that extension?

---

<div class="post-metadata">

### Author: ![touchaponk](https://avatars.discourse-cdn.com/v4/letter/t/ec9cab/32.png) [@touchaponk](https://forum.social.plus/u/touchaponk)
#### Post date: [July 21, 2021, 5:40pm UTC](https://forum.social.plus/t/search-messages-by-text/227/6 "2021-07-21T17:40:47Z")

</div>

The code is here - it’s our google pubsub is still in closed beta you would need to contact our support with your Google Pubsub credential to enable that first though

> **[GitHub - AmityCo/asc-hashtag-firebase](https://github.com/AmityCo/asc-hashtag-firebase)**
>
> Contribute to AmityCo/asc-hashtag-firebase development by creating an account on GitHub.
