# openemail.search

Finding messages: full-text search, structured queries and the updates they select, highlighted snippets, meaning-based (semantic) search and similar messages.

Its 6 methods, each a page of its own, in the order the API reference presents them:

| Method | What it does | It calls |
| --- | --- | --- |
| [`search.fullText`](/docs/sdks/typescript/search/full-text) | Full-text search a mailbox | [`GET /mailboxes/{mailboxId}/search`](/docs/api/messages/get_MailboxSearch) |
| [`search.query`](/docs/sdks/typescript/search/query) | Structured filter and query messages | [`POST /mailboxes/{mailboxId}/search/query`](/docs/api/messages/post_MailboxSearchQuery) |
| [`search.updateMatches`](/docs/sdks/typescript/search/update-matches) | Update flags, labels and keywords for every message a search selects | [`PATCH /mailboxes/{mailboxId}/search/query`](/docs/api/messages/patch_MailboxSearchQueryUpdate) |
| [`search.snippets`](/docs/sdks/typescript/search/snippets) | Highlighted excerpts for search results | [`POST /mailboxes/{mailboxId}/search/snippets`](/docs/api/messages/post_MailboxSearchSnippets) |
| [`search.semantic`](/docs/sdks/typescript/search/semantic) | Semantic (meaning-based) search of a mailbox | [`GET /mailboxes/{mailboxId}/search/semantic`](/docs/api/messages/get_MailboxSemanticSearch) |
| [`search.similar`](/docs/sdks/typescript/search/similar) | Messages similar to one message | [`GET /mailboxes/{mailboxId}/messages/{messageId}/similar`](/docs/api/messages/get_MessageSimilar) |

In the API reference: [Messages](/docs/api/messages).
