Skip to main content

Search

Better Messages includes a full-text search across every message in every conversation the user is a participant in. The search bar lives in the messenger UI — one query, results from DMs and group chats, click to jump straight to the message in context.

What it adds#

  • Search bar in the messenger interface for finding specific messages
  • Full-text matching across all of the user's threads (DMs, group chats, chat rooms)
  • Results are named by their conversation and show the matching message line and who wrote it
  • A right click, a long press or a result's ⋯ opens the conversation's menu, to pin, mute or delete it where it was found
  • One-click navigation jumps to the matched message in its thread
  • Works on the web app and mobile app

How it works#

The search executes a MySQL LIKE-based scan across the user's messages, scoped to threads they're a participant in. Results are sorted by recency by default — newest matching messages first.

QueryMatches
invoiceAny message containing "invoice" (case-insensitive)
shipping feeMessages containing both words (any order)
Special charactersPunctuation is ignored. Alphanumeric + whitespace tokens are matched

For very large message archives (10K+ messages per user) a LIKE scan can slow down. There is no alternative search backend to switch to — the built-in search is what ships — and it is comfortable for a typical community.

When users search most#

AudienceCommon search patterns
Marketplace vendor"tracking number", "refund", customer name
LMS instructorAssignment name, student name, due date keyword
Community managerRecurring topic keywords, link prefixes
Support repError message snippet, customer email
Personal DMsAddress, phone number, restaurant name shared earlier

How to enable#

Navigate to WP Admin → Better Messages → Settings → Appearance → Layout → Interface elements.

  • Search — search across conversations and messages. On by default.

3.0 moved this control: in 2.x it was a Disable Search toggle on the Messaging tab, and it is now one of the Interface elements switches on the Appearance tab, worded the right way round. Turning it off hides the search input from the messenger. The underlying data is unaffected.

Frequently asked questions#

Does search find content inside attachments?#

No — the search only matches message text, not file attachments. PDF text, image OCR, and audio transcripts are not searched. For voice messages, see AI voice transcription which can transcribe voice messages to text (WebSocket version) — once transcribed, the text becomes searchable.

Are deleted messages searchable?#

No. There is no separate search index to fall out of date — the query runs against the messages table itself, so a deleted message stops matching immediately and an edited one matches its new text from the moment it is saved.

Can administrators search across all users' messages?#

Not from the user-facing search, which is always scoped to the searcher's own threads — but yes from the admin side. Better Messages → Administration → Messages searches message text across every conversation, and can be narrowed by sender, conversation or chat room. It needs Messages Viewer on, under Settings → Moderation.

Does search work in chat rooms with hundreds of participants?#

Yes — search is scoped to threads the user participates in, and one chat room is one thread regardless of participant count. Performance is dictated by total message volume in that user's threads, not by participant count.

Why don't my search results include really old messages?#

By default the search covers all messages. If you've enabled auto-delete, old messages may have been purged. The search reflects the current database state.

See also#