Every emDash site can have full-text search without a plugin, a third-party service or an extra bill. It runs inside the site's own database, keeps itself up to date as you edit, and comes with a ready-made search box. This site uses it for the search page and for the search box behind the keyboard shortcut.

We tested it against this site's published articles and pages with real queries. It handles plurals and word endings well, and abbreviations like D1 and R2 too. It doesn't forgive typos, it struggles with questions, and some of the text in our articles turned out to be invisible to it.

Switching it on

Search is set per collection, in two parts:

  1. Turn on search for the collection. In the admin, under Content Types, or with search in the collection's features in a seed file.
  2. Mark the fields to search. Each field has a searchable setting. On this site, articles search their title, excerpt and body.

emDash then builds an index and keeps it current: database triggers update it on every save, so there is nothing to schedule. Only published content is searched by default.

On Cloudflare the database supports this out of the box. On Node.js, the SQLite build must include its full-text module, FTS5. Without it, emDash reports search as unavailable instead of failing quietly, and its docs include a check to run first.

Showing results

There are two ready-made ways to put search on the page, and this site uses both:

  • A search box with live results. The LiveSearch component from emdash/ui/search queries as you type and shows results with highlighted matches.
  • A search results page. The search() function returns matching entries with a highlighted snippet and a score, for a server-rendered results page. It can also search titles only, which suits autocomplete.

The same search is available to scripts through the REST API and the command line, and to AI agents in visitors' browsers through emDash's experimental WebMCP component.

What we searched, and what came back

We ran these queries against the live site on 8 November 2026:

QueryResultVerdict
cache, cached, cachingThe same five articles, the caching guide firstGood
upgrade, upgradingRelease tracker, then the upgrade walkthroughGood
migrThe same articles as migrationsGood: word beginnings match
D1, R2, MCPRelevant articles; MCP found the agents guide firstGood
"media library" (in quotes)Three articles with the exact phraseGood
chaching (a typo)NothingMiss: no typo tolerance
what does emdash costTwo trust pages and the 1.0 news; our cost model wasn't in the top fiveMiss: every word must match
flattened, downstreamNothing, though both words are in the forms reviewMiss: they sit in a callout box

Why it behaves this way

Stems and word beginnings

By default, emDash indexes English text with stemming, which reduces words to a common root, so "caching" and "cached" both match "cache". It also treats every query word as a prefix, which is why "migr" works like "migrations". Other languages can use the same tokeniser without English stemming, and text without spaces, such as Japanese or Thai, can use a three-letter tokeniser that also matches parts of words.

Every word must match

A query of several words finds entries that contain all of them. That makes "wordpress redirects" precise, but it makes questions fragile. "what does emdash cost" needs an article containing "what", "does", "emdash" and "cost", and our cost model doesn't use "does". Quotes search for an exact phrase, and the words AND, OR and NOT work as operators for anyone who knows to type them.

No typo tolerance

The index matches words, not near-misses, so a misspelling finds nothing. A visitor who types "chaching" sees "no results" on a site with a whole article about caching.

Some article text isn't indexed

This one surprised us. Rich text is stored as structured data, and emDash indexes only the parts stored as text, alt text, captions and code. Ordinary paragraphs, headings and lists are covered, and so are the cells of our tables and the points in our key takeaway boxes. The text of our callouts, checklists and fact boxes is stored under other names, so search never sees it. Two words that appear only in a callout in our forms review return nothing at all.

How fast it is

Search requests skip every cache, because each query is different. When the request lands on a server that is already running, results come back in about 0.2 seconds. When it has to start up first, it took 1.2 to 1.8 seconds in our tests, about half a second of that spent starting emDash and its database. On a low-traffic site many requests will be cold, which is why the live search box shows a loading state.

$0extra cost: search runs in the site's own database
0.2–1.8 sper search in our tests, warm to cold
0results for a one-letter typo of a word with a whole article behind it

How it compares with WordPress

Anyone moving from WordPress will want to know whether this is better or worse than what they have. In short, it's better than WordPress's own search, and simpler than the best WordPress search plugins.

WordPress's own search

WordPress core search has no index. On every search it looks for each word inside the title, excerpt and body of every post, and returns the posts that contain all the words. It drops common words such as "what" and "how" first. It orders results simply: title matches first, then posts with the whole phrase in the excerpt or body, then everything else.

That has three consequences:

  • It matches letters, not words. "cache" finds "cached" because those letters appear in it, but not "caching". "art" also finds "start" and "party".
  • It searches three fields only. Custom fields, categories, tags and comments are invisible without a plugin or custom code.
  • It gets slower as the site grows. Nothing is indexed, so every search reads every post.

Like emDash's search, it has no typo tolerance. A question fails the same way too: once "what" is dropped, "does emdash cost" still needs every remaining word.

WordPress search plugins

That is why so many WordPress sites replace it. The best-known options:

  • Relevanssi has a free version with over 100,000 active installs, plus a paid Premium version.
    • It builds its own index in the WordPress database and matches partial words when whole words don't match.
    • It searches custom fields, categories, tags and comments, lets you weight fields, and highlights matches.
    • It suggests "Did you mean?" spellings based on earlier successful searches.
    • Premium adds PDF and Office documents and multisite search.
  • SearchWP is paid. Its index covers custom fields, PDFs and Office documents, with keyword stemming and WooCommerce support.
  • Jetpack Search moves search to Automattic's servers, with spelling correction and an instant search overlay. There is a free tier; above it, the price depends on how many entries the site has and how many searches visitors make.
  • ElasticPress connects WordPress to Elasticsearch, either a server you run or the hosted ElasticPress.io. It is aimed at large sites and shops.
CapabilityemDash built-inWordPress coreWordPress plugins
IndexYes, updated on every saveNone: every search reads every postTheir own index, or a hosted service
Word endingsStemming: cache finds cachingLetters only: cache misses cachingStemming (SearchWP) or partial words (Relevanssi)
TyposNo helpNo helpSuggestions (Relevanssi) or spelling correction (Jetpack Search)
Fields searchedAny field marked searchableTitle, excerpt and bodyCustom fields, terms, comments; documents with paid plans
RankingRelevance score, with field weightsTitle matches first, then phrase matchesRelevance, with adjustable weights
CostIncludedIncludedFree versions, paid licences, or hosted subscriptions

What a theme like Blocksy adds

Many WordPress sites get their search box from the theme rather than from a plugin. Blocksy, one of the most popular WordPress themes, shows how far that goes:

  • Its header search and inline search box show live results as you type.
  • Results can include featured images, WooCommerce prices and stock status.
  • Visitors can filter by category, and the site chooses which content types to search.
  • Its companion plugin adds an Advanced Search block, so the same form can go anywhere on a page.

Underneath, though, Blocksy's live results come from WordPress's own search endpoint, which we confirmed in its script. So unless a search plugin has replaced WordPress search, posts are still matched the WordPress way: letters rather than words, and no help with typos. Blocksy's documentation also suggests requiring a minimum number of characters on slower hosting, because the search runs with every keystroke.

The lesson applies to both platforms: a theme improves the search box, and a search engine improves the results. In emDash, the LiveSearch component is the box. By default it waits for two characters and a short pause before searching, and shows highlighted snippets, but it has no thumbnails or category filter. The index is the engine, and that part already outdoes WordPress core.

Where that leaves emDash

Out of the box, emDash is a clear step up from WordPress core. It has a real index, stemming, any field you mark as searchable, and ranking that weighs where a word appears.

A good WordPress search plugin still does more: typo suggestions, an any-word fallback and searching inside documents. For a site that needs those, emDash's step up is its first-party AI Search plugin, which plays the role Jetpack Search or a hosted Elasticsearch plays for WordPress.

Making the most of it

  • Write excerpts with the words people search for. The excerpt is indexed and usually short and plain, which makes it the most reliable place for key terms.
  • Keep important facts out of callout-only text. Repeat them in a paragraph.
  • Help with the empty state. When a search finds nothing, show links to your main topics instead of a dead end.
  • Search titles only for autocomplete. Matching body text in a type-ahead list surprises people.
  • Look at what people search for. A search that returns nothing is a list of missing articles or missing words.

When those habits aren't enough, emDash's first-party AI Search plugin indexes the same content into Cloudflare AI Search, which understands questions and loose wording. It is a paid Cloudflare service with its own setup, and we'll test it separately.

Before you rely on emDash's built-in search0/6 done

Is built-in search enough for your site?

  • Running an emDash site yourself. For a blog or a small business site, yes. Switch it on, write good excerpts, and check that your custom blocks don't hide important text.
  • Evaluating emDash. Free, self-updating full-text search with stemming and ranked results is a step up from WordPress's basic built-in search. It is keyword search, not answers, so compare it with what your visitors type.
  • Running an agency. Build custom blocks with their text under a key search can see, and include a no-results page in every build. Offer AI Search as an upgrade for content-heavy clients.