chatwoot/app/javascript/dashboard/modules/search/components
Pranav 0c2ab7f5e7
feat(ee): Setup advanced, performant message search (#12193)
We now support searching within the actual message content, email
subject lines, and audio transcriptions. This enables a faster, more
accurate search experience going forward. Unlike the standard message
search, which is limited to the last 3 months, this search has no time
restrictions.

The search engine also accounts for small variations in queries. Minor
spelling mistakes, such as searching for slck instead of Slack, will
still return the correct results. It also ignores differences in accents
and diacritics, so searching for Deja vu will match content containing
Déjà vu.


We can also refine searches in the future by criteria such as:
- Searching within a specific inbox
- Filtering by sender or recipient
- Limiting to messages sent by an agent


Fixes https://github.com/chatwoot/chatwoot/issues/11656
Fixes https://github.com/chatwoot/chatwoot/issues/10669
Fixes https://github.com/chatwoot/chatwoot/issues/5910



---

Rake tasks to reindex all the messages. 

```sh
bundle exec rake search:all
```

Rake task to reindex messages from one account only
```sh
bundle exec rake search:account ACCOUNT_ID=1
```
2025-08-28 10:10:28 +05:30
..
MessageContent.vue feat(ee): Setup advanced, performant message search (#12193) 2025-08-28 10:10:28 +05:30
ReadMore.vue chore: Search improvements (#10801) 2025-02-03 19:34:50 +05:30
SearchHeader.vue feat(apps): Shopify Integration (#11101) 2025-03-19 15:37:55 -07:00
SearchResultArticleItem.vue feat: allow searching articles in omnisearch (#11558) 2025-05-28 13:50:50 +05:30
SearchResultArticlesList.vue feat: allow searching articles in omnisearch (#11558) 2025-05-28 13:50:50 +05:30
SearchResultContactItem.vue chore: Search improvements (#10801) 2025-02-03 19:34:50 +05:30
SearchResultContactsList.vue chore: Search improvements (#10801) 2025-02-03 19:34:50 +05:30
SearchResultConversationItem.vue chore: Replace Thumbnail with Avatar in conversation card (#12112) 2025-08-07 09:50:24 +05:30
SearchResultConversationsList.vue feat: show email subject in conversation search results (#10843) 2025-02-06 10:38:57 +05:30
SearchResultMessagesList.vue feat(ee): Setup advanced, performant message search (#12193) 2025-08-28 10:10:28 +05:30
SearchResultSection.vue chore: Search improvements (#10801) 2025-02-03 19:34:50 +05:30
SearchTabs.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
SearchView.vue feat: show articles in the list only if feature is enabled (#11607) 2025-05-29 14:19:35 +05:30