Bloodhound is a Craft 6 plugin. Craft 6 is still in beta, and so is Bloodhound (6.0.0-beta.1) — try it on staging first and use caution on production sites.
Craft 6 · Beta — use caution on production
Real search for Craft 6
Bloodhound puts Laravel Scout behind your Craft 6 content. Pick the sections and fields, and it keeps Meilisearch or Typesense in step as entries are saved, scheduled, expired and deleted — then hands your Twig or Blade templates real, live elements in rank order.
One call, in Twig or Blade
Craft 6 renders both, so Bloodhound gives both the same API. Hits come back as real Craft elements, re-read through a live-only query — a stale document can never surface a disabled or expired entry.
{# Twig #}
{% set results = bloodhound.search('articles', app('request').query('q'), {
page: app('request').query('page', 1),
where: { section: 'news' },
}) %}
{% for entry in results %}<a href="{{ entry.url }}">{{ entry.title }}</a>{% endfor %}
{{-- Blade --}}
@php($results = $bloodhound->search('articles', request('q')))
@foreach ($results as $entry) <a href="{{ $entry->url }}">{{ $entry->title }}</a> @endforeach
Features
Indexes defined in the control panel, kept honest by the plugin, searched from any template.
Indexes you define in the CP
Pick entries or assets, the sections or volumes, and the fields to copy in. Each index is kept per site, and rich text, relations and dates are flattened into searchable text for you.
Only live content, ever
Disabled, pending, expired and deleted elements leave the index, a scheduled job catches post and expiry dates passing, and every hit is re-read through a live-only query before it reaches a template.
Meilisearch and Typesense, set up for you
Searchable, filterable and sortable attributes for Meilisearch; per-index collection schemas and query_by for Typesense. Any other Laravel Scout engine works too.
- Every engine searches the same fields, so results don't depend on the engine
- Filter values are matched literally — visitor input can't widen a filter
Index health
See which documents are missing, orphaned or stale for every index and site. Repair re-syncs exactly those; Rebuild re-indexes on the queue. status --fail-on-drift plugs into CI and monitoring.
Outages don't break pages
If the engine is down, a search returns no results and a generic message, the details go to the log, and saving an entry still works.
Pro: Craft's own search, synonyms, zero downtime
Pro answers craft.entries.search(q) from your engine with no template changes, falling back to Craft wherever the index can't answer completely. It adds synonyms and stop words, and rebuilds into a fresh index before swapping it in.
Frequently Asked Questions
The questions worth answering before you install it.
No. It is a native Craft 6 plugin built on Laravel Scout. Craft 6 is still in beta.
Use caution. Craft 6 and Bloodhound (6.0.0-beta.1) are both in beta, so expect changes between releases. Test on staging, keep backups, and move to production only once you're comfortable with the beta.
Lite is free, and not a trial: indexes, sync, Twig and Blade search, and index health. Pro is $49 and adds Craft's own .search() answered by your engine, synonyms and stop words, and zero-downtime rebuilds.
Anything Laravel Scout supports. Meilisearch and Typesense are configured for you, including index health; other engines work for indexing and searching.
No. Only live elements are indexed, and every hit is re-read through a live-only element query before it reaches your template.
No. The control panel searches disabled entries and drafts, and the index only holds live elements, so CP search stays with Craft. Pro's search replacement answers front-end queries on one indexed section or volume, and falls back to Craft's own search for anything else.
Craft CMS 6.0.0-beta.1 or later, PHP 8.5, Laravel Scout 11.
Try it on staging today
Lite is free; Pro is $49. Bloodhound is a Craft 6 beta plugin on a beta CMS — start on a development or staging site and use caution on production.