

<strong>Connection Settings</strong>: Configure direct-to-node cluster credentials and Search-Only keys.
SwiftSearch for Typesense is a search engine replacement for WordPress and WooCommerce. By replacing the default, resource-heavy WordPress database query search with a fast, typo-tolerant engine powered by Typesense, SwiftSearch delivers an autocomplete experience that loads quickly.
Built by Loopstates, SwiftSearch is architected for privacy and direct connectivity. Unlike other search plugins that route queries through a heavy middle-layer proxy, SwiftSearch connects directly from your visitors’ browser to your Typesense cluster. No heavy PHP processes are loaded, no database queries are executed on your server, and your customer data remains secure and GDPR-compliant.
Native WordPress search lacks typo tolerance and can affect database performance under high traffic. SwiftSearch connects your site to Typesense—an open-source, developer-friendly alternative to Algolia.
Whether you run a blog, a directory site, or a WooCommerce store, SwiftSearch ensures your visitors find exactly what they are looking for in real-time.
Official Documentation: https://docs.loopstates.com/swift-search-typesense/
Deliver search results in milliseconds. Because SwiftSearch connects visitors’ browsers directly to your Typesense nodes, search queries bypass WordPress entirely—yielding lightning-fast results and saving server resources.
Deliver results as users type. The client-side search UI updates dynamically in real-time, fetching data directly from your nearest Typesense node.
Take control of your search results to drive sales. The Merchandising dashboard allows you to manually “pin” specific products, posts, or pages to the very top of search results for specific keywords—suited for promotional campaigns and seasonal clearance.
Never show a “No Results Found” page due to a simple spelling mistake. Typesense’s typo tolerance handles spelling errors automatically. Additionally, define global multi-way Synonym Sets (compatible with Typesense v0.30+) to link terms like “laptop”, “notebook”, and “macbook”.
Track exactly what your users are looking for. Our admin dashboard provides a complete overview of search volumes and trends. Most importantly, it flags “Zero Result Queries” so you can spot inventory gaps or set up synonyms for missing terms.
Give users the power to filter results instantly. Map any custom meta fields (such as Price, Brand, SKU, or custom ACF fields) and build multi-select facet filters using our visual drag-and-drop layout builder.
When you first connect, our background sync engine processes your content in self-scheduling batches to prevent script timeouts. Once indexed, any new, updated, or deleted posts/products are synchronized.
For stores with large catalogs (10,000+ items) or servers with strict security firewalls that block background HTTP requests (loopback blocks), SwiftSearch includes full WP-CLI terminal commands. Run bulk indexing (wp swift-search index), check connection status (wp swift-search status), and reset indexes (wp swift-search reset) directly via SSH.
Easily replace your default WooCommerce Shop page with a high-performance, dedicated search and filter catalog page. Features horizontal sort filters, instant category sidebar counts, pagination, and a clean flat card layout.
Customize the search UI without writing code. Control colors, typography, card layouts, and toggles (show/hide prices, thumbnails, and excerpts) directly from the settings. It works with Elementor, Divi, Gutenberg, or any page builder via a lightweight shortcode [swift_search].
SwiftSearch is built with custom DOM event dispatching to allow advanced integrations with third-party themes and plugins (e.g. Wishlists, Ajax Add-to-Cart, or Quick View).
You can listen to these custom events on the document or the wrapper element:
swift-search:hit-rendered – Dispatched for every individual hit/card element that is rendered.
event.detail.hit: The raw search hit data from Typesense.event.detail.card: The DOM element node of the rendered card.event.detail.collection: The collection name (e.g. posts, terms, users).swift-search:results-rendered – Dispatched after the entire search grid and all sections have completed rendering.
event.detail.data: The raw search results payload returned from Typesense.event.detail.totalFound: Total organic hits count.document.addEventListener('swift-search:hit-rendered', function(e) {
if (e.detail.collection === 'posts') {
const card = e.detail.card;
const hitData = e.detail.hit;
// Inject rating badges or custom hooks
}
});
Backend developers can customize data synchronization and query configurations using WordPress filters:
swift_search_post_document – Filters the structured document data before it is sent/synced to Typesense. Use this to add custom meta fields, dynamic stock rules, or text content modifications.
$document (array), $post_id (int), $post (WP_Post object).swift_search_should_index_post – Filter returning a boolean. Return false to completely exclude specific posts, drafts, or out-of-stock products from the search index.
$should_index (bool), $post_id (int), $post (WP_Post object).swift_search_vars – Filters the configuration variables passed from PHP to the frontend JavaScript (such as API keys, weights, and enabled facets).
$vars (array), $settings (array).swift_search_shortcode_args – Filters default shortcode attributes and display settings.
$args (array), $atts (array).SwiftSearch is designed with a “Privacy First” architecture:
– Zero Middleware: We do NOT use any proxy or Loopstates-hosted servers. Search queries go directly from the user’s browser to your Typesense cluster.
– Self-Contained: All configuration, analytics data, and result pinning rules are stored locally in your WordPress database.
– GDPR Ready: Since you control the Typesense node, you maintain full ownership of the search logs and user data flow.
– 100% Free & Open Source: No telemetry, no third-party data disclosure, and no licensing hooks.