Linux 软件免费装
Banner图

SwiftSearch for Algolia

开发者 loopstates
更新时间 2026年10月3日 13:01
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce search autocomplete instant search algolia facets

下载

1.0.1

详情介绍:

SwiftSearch for Algolia connects your WordPress and WooCommerce search directly to Algolia's Distributed Search Network (DSN). By offloading search from standard WordPress database queries to Algolia's edge network, SwiftSearch delivers fast, typo-tolerant search results without straining your server resources. Built by Loopstates, SwiftSearch is architected for direct connectivity. Search queries travel directly from your visitors' browser to Algolia's nearest edge node via the official, lightweight 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/

安装:

  1. Upload swiftsearch-for-algolia to the /wp-content/plugins/ directory, or install it directly via the WordPress Plugins dashboard (Plugins > Add New).
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Navigate to SwiftSearch in your admin sidebar.
  4. Follow our 8-Step Setup Wizard:
  5. Step 1: Connect - Enter your Algolia Application ID, Admin API Key, and Search-Only API Key.
  6. Step 2: Content - Select which post types (Posts, Products, Pages, CPTs) to index and map custom metadata fields.
  7. Step 3: Relevance - Configure attribute weights and define one-way or multi-way synonyms.
  8. Step 4: Search UI - Configure instant autocomplete toggles, facets, and attribution badge.
  9. Step 5: Styling - Customize accent colors, text colors, and border radii.
  10. Step 6: Analytics - Review search volume trends and zero-result queries.
  11. Step 7: Pinning - Merchandise high-converting products to the top of specific search queries.
  12. Step 8: Sync - Push index settings, configure replicas, and run the initial bulk index to Algolia.

屏幕截图:

  • **Content Settings**: Choose searchable post types and register custom field mappings.
  • **Relevance and Synonyms**: Manage attribute weighting sliders and define one-way or multi-way synonyms.
  • **Search UI Configuration**: Setup instant autocomplete toggles, facets sidebar, and item limits.
  • **Styling Customizer**: Visually customize colors, fonts, and border radii to match your theme.
  • **Search Analytics Dashboard**: Track search volume trends and flag zero-result queries.
  • **Merchandising & Pinning**: Pin selected products or posts to the top of search results.
  • **Sync Management**: Run bulk indexing processes and monitor real-time sync status logs.

常见问题:

Do I need an Algolia account?

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.

What are the Application ID, Admin API Key, and Search-Only API Key?

You can find all three in your Algolia Dashboard under Settings > API Keys:

  • Application ID: The unique identifier for your Algolia cluster.
  • Admin API Key: Used securely on your server for batch indexing and index configuration. Never exposed to frontend visitors.
  • Search-Only API Key: A restricted public key used by frontend visitors to execute searches securely.

Does SwiftSearch work with WooCommerce?

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.

How fast is the search?

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.

What is Result Pinning (Merchandising)?

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.

How do Synonyms improve search?

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.

Does this plugin display the "Search by Algolia" logo?

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.

How do I index large catalogs (10,000+ products)?

For large catalogs or managed hosting providers with strict script timeouts, we recommend using WP-CLI: wp swift-search-algolia index --batch-size=500

Does it work with page builders and custom themes?

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.

What insights does Search Analytics provide?

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.

更新日志:

1.0.1 1.0.0