| 开发者 | loopstates |
|---|---|
| 更新时间 | 2026年10月3日 13:01 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
algoliasearch/lite library. Your WordPress server does not execute database queries during live searches, keeping page loads responsive even during traffic surges.
Why SwiftSearch for Algolia?
Standard WordPress search lacks typo tolerance, does not rank results by custom relevance, and can slow down database performance under high traffic. SwiftSearch connects your site directly to Algolia to provide an instant, reliable search experience for your visitors.
Whether you run a blog, a content site, or a WooCommerce store, SwiftSearch ensures your visitors find what they are looking for in real time.
Official Documentation: https://docs.loopstates.com/swiftsearch-for-algolia/
swiftsearch-for-algolia to the /wp-content/plugins/ directory, or install it directly via the WordPress Plugins dashboard (Plugins > Add New).Yes. You need an Algolia account to host your search index. Algolia provides a Free (Build) plan that includes up to 10,000 search records and 10,000 search requests per month with no credit card required to get started.
You can find all three in your Algolia Dashboard under Settings > API Keys:
Absolutely. SwiftSearch is WooCommerce-native out of the box, indexing product titles, prices (with active WooCommerce currency symbol and position formatting), sale badges, SKUs, inventory status, categories, and attributes.
Because search queries are sent directly from the visitor's browser to Algolia's edge nodes, queries typically return in 15ms – 40ms, eliminating the delay of traditional WordPress database searches.
Result Pinning allows store owners to manually place specific products or posts at the very top of search results for a designated search term—ideal for promotional campaigns, featured items, or clearing seasonal inventory.
They allow you to link equivalent terms together. You can configure one-way synonyms (e.g. sneakers => shoes) or multi-way synonym sets (e.g. coat, jacket, outerwear). When a user searches for any linked term, Algolia returns relevant results automatically, preventing zero-result drop-offs.
Yes. Algolia requires displaying a "Search by Algolia" attribution badge on free accounts. SwiftSearch provides a clean, modern SVG badge in the search footer, with an admin toggle available for paid Algolia accounts.
For large catalogs or managed hosting providers with strict script timeouts, we recommend using WP-CLI:
wp swift-search-algolia index --batch-size=500
Yes. You can place the [swift_search_algolia] shortcode into any page layout, or enable the "Override Default Search" toggle to automatically replace your theme's native search form.
Our built-in analytics dashboard tracks your most searched terms, keyword volume trends, and zero-result queries right inside your WordPress admin. Zero-result queries show you exactly what visitors searched for but could not find, giving you actionable data to expand inventory or configure synonyms.
algoliasearch/lite.searchableAttributes, attributesForFaceting, customRanking).root => synonyms) and multi-way (syn1, syn2) synonyms.wp swift-search-algolia index, wp swift-search-algolia status, wp swift-search-algolia reset).