Search by Algolia – Instant & Relevant results

Description

The plugin provides relevant search results in milliseconds, ensuring that your users can find your best posts at the speed of thought. It also comes with native typo-tolerance and is language-agnostic, so that every WordPress user, no matter where they are, can benefit from it.

About pricing

This plugin relies on the Algolia service which requires you to create an account here.
Algolia offers its Search as a Service provider on a incremental payment program, including a free Hacker Plan which includes 10,000 records & 100,000 operations per month. Beyond that, plans start at $49/month.

Note that there isn’t a direct correlation between the number of posts in WordPress and the number of records in Algolia.
Also note that we only offer support to paying plans.
On average, you can expect to have about 10 times more records than you have posts, though this is not a golden rule and you could end up with more records.

Getting started guide

Once you have installed the plugin, you can follow the step by step guide provided here: https://community.algolia.com/wordpress/configuration.html

Relevance

Algolia enhances your search functionality with a completely customizable search experience which can be seamlessly integrated into your WordPress theme. It lets you create a find-as-you-type experience or an auto-complete dropdown menu, which provides relevant results from the first keystroke. Our extension also automatically synchronizes data (posts, taxonomies etc.) in real-time, making sure that any updates to your site are available as soon as they are made.

Speed

Algolia returns results in under 35ms on an average – irrespective of whether you have 100s or 1000s of posts.
Our state-of-the-art infrastructure and distributed search network ensures that your readers benefit from this, no matter where they are.

Accessibility

Search by Algolia gives you the ability to make all forms of data – blog posts, categories, users etc. – searchable from a single search bar. Algolia also gives you the ability to completely customize your search results based on criteria that makes sense for your business, such as popularity, date, relevance etc.

Built by developers for developers

Search by Algolia is also completely configurable and fully extensible by means of WordPress filters and hooks, letting you build a custom search experience or theme based on Algolia.

Want to see out how we did it?

Check it out here: Search by Algolia GitHub Repository

Join the Algolia community and meet thousands of search enthusiasts. We’re also always on the lookout for feedback: https://community.algolia.com/wordpress

Screenshots

  • Algolia Settings.
  • Indexing configuration.
  • Instant-search results configuration.
  • Autocomplete dropdown configuration.
  • Autocomplete dropdown example.
  • Instant-search results page example.

Installation

Minimum Requirements

  • PHP version 5.3 or greater (PHP 5.6 or greater is recommended)
  • MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)
  • Some payment gateways require fsockopen support (for IPN access)
  • Requires WordPress 3.7+ (WordPress 4.4+ is recommended because we will drop support below it in upcoming releases)

Visit the Search by Algolia server requirements documentation for a detailed list of server requirements.

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Search by Algolia, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “Algolia” and click Search Plugins. Once you’ve found our search plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading our search plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

FAQ

Installation Instructions

Minimum Requirements

  • PHP version 5.3 or greater (PHP 5.6 or greater is recommended)
  • MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)
  • Some payment gateways require fsockopen support (for IPN access)
  • Requires WordPress 3.7+ (WordPress 4.4+ is recommended because we will drop support below it in upcoming releases)

Visit the Search by Algolia server requirements documentation for a detailed list of server requirements.

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Search by Algolia, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “Algolia” and click Search Plugins. Once you’ve found our search plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading our search plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

Where can I find Search by Algolia documentation and user guides?
Will Search by Algolia work with my theme?

Yes; Search by Algolia will work with any theme, but the Instant Search results page may require some styling to make it match nicely.

Where can I report bugs or contribute to the project?

Bugs can be reported either in our support forum or preferably on the Search by Algolia GitHub repository.

My issue is not listed here, what should I do?

Please check out the Frequently Asked Questions on our website which might have more information than this thread.
It will also give you guidance about where to ask support if your question is not covered.

Reviews

Excellent search plugin with lightning fast results

Algolia has been the perfect solution for our website as we had struggled to find a search plugin that could provide fast and accurate results. Now we have Google-like search speeds and our user experience has improved tenfold. The support has also been excellent for this plugin.

Astonishing – surprisingly perfect for our needs

We tried a number of search options, including writing our own code (with tutorial help), WP Search, and Relevanssi. Each attempt brought us closer, but we felt the final output led to customer confusion. Too many excerpts and jumbled tag lists, no differentiation between products and articles, let alone categories and keywords (tags)… it was obvious that there was little concern by the developers for user experience.

We read about this plugin and, with some reluctance, gave it a shot. All I can say is “wow” – this is better than we thought search could be! Plenty of custom control for categories, posts, tags, authors, etc., and most importantly the ability to *disable* some areas. That is one thing that separates this plugin – the output is neatly categorized and easy for admin to organize in priority. The end user is left with a beautiful breakdown of the results, complete with thumbnails.

You can choose “backend” mode to blend better with your template style, or you can go all-in with their search page for results (which allows for a few more features). We chose the backend mode, and have quickly grown to love it. It actually improves the function of the entire site – our store takes on a new dimension with category searches (we have a display filter/ranking on the store page as well and they work beautifully together).

All of a sudden we can’t be without this plugin – overnight it became an integral part of the site design. It’s fast, predictive, “fuzzy” (allowing for misspellings” and highly customizable.

We noted a couple of shortcomings, but may just need to explore more. Our concerns are:

– the granular control to remove items from search seems a bit too granular… it seems as though the only way to exclude items is to manually remove the words from the Algolia index. It becomes tedious since there can be numerous indexes depending on the areas you want included in the search (tags, authors, post titles, products, etc). There doesn’t seem to be a proactive “exclude” feature that we have found, only a reactive “delete” of found terms. To be fair, we’re still discovering things, so maybe we’ll figure this out.

– some words are entirely missed for some odd reason. We ran into a couple of incidences where we searched for a word that was clearly in the product description and the search showed no results, even after re-indexing everything.

But honestly, the pros of this plugin are simply off the charts. For us, it is a perfect fit and we are thrilled. And I have even mentioned the dashboard and usage data that is available on your Algolia account. All in all, great stuff!

Sorry, complete fail

So Algolia looks nice and works nice to begin with. Then it decides that I have too many records for the free plan (which is complete BS no matter how you count) and breaks my WP installation with a `’PHP Fatal error: Uncaught exception ‘AlgoliaSearch\AlgoliaException’ with message ‘Record quota exceeded, change plan or de
lete records.’`

Really Algolia?

Finally a good search plugin for WordPress/WooCommerce.

After trying almost every single search plugin we could find for WordPress (some which completely crashed our site), its safe to say that Raymond and the team at Algolia have done a great job in creating a plugin that allows users to search our site with ease.

The support has also been 10/10, and Raymond has definitely put up with my countless questions and enquiries over the past few months.

BLOWN AWAY!

This is by one of the most advance plugins I have ever seen. I have tried 20 different search plugins looking for something that does exactly what this plugin does right out of the box. I will be upgrading my subscription when it runs out I am seriously amazed by the power and customization this plugin offers. Thank you so much devs you guys rock!!

Getting better but still needs a few things

5/16/17: Updated rating to 3 stars based on v2. (See replies below for more info.)

Autocomplete works well and fast. Category pages show up in autocomplete results, which is great. Beyond that it really needs more flexibility to be worth the cost since many of us don’t qualify for the free plan. The biggest things it is lacking IMO:

1) The post snippets in the autocomplete results — at least for me they are completely irrelevant. It seems to pick random things off the page. There should be an option in the plugin to turn this off. Better yet, why not use the OG:description. For those of us that use Yoast these are already available and optimized.

2) It’s great the category results return in the autocomplete results, but the only thing that shows is the category label. Why not use the actual category title? And if the category has a photo it should show that as well.

3) While the autocomplete results show the category pages, I’m not able to get the normal search results to do the same. I haven’t spent a lot of time on this so it could very well be user error on my part but it if nothing else it doesn’t seem to be easily accomplished, at least in my situation. (And I’m not really too interested in it until #2 above is fixed anyway.)

I’ve contacted Algolia about these things and they do seem responsive so hopefully they will be addresses in future updates and I can revise my rating.

Read all 17 reviews

Contributors & Developers

“Search by Algolia – Instant & Relevant results” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.3.0

  • Feat: Add a button for every index to push the settings
  • Feat: Add a filter to force settings update when re-indexing
  • Fix: Fix a regression when post splitting was disabled
  • Fix: Make sure attachments get removed from Algolia when deleted

2.2.3

  • Fallback to native search if Algolia call fails on search page
  • Avoid displaying fatal error when failing to reach Algolia in the admin

2.2.2

  • Correctly position autocomplete dropdown when located inside a fixed container

2.2.1

  • Rename ‘page’ variable to ‘p’ for ajax calls to avoid certain conflicts
  • Move CSS and JS files out of assets/ directory to prepare for publishing all tags
  • Avoid conflict with Polylang plugin

2.2.0

  • Ensure frontend dependencies are loaded (especially ‘wp-util’: wp.template())
  • Escape ET Divi builder shortcodes
  • Force autocomplete dropdown to be displayed above everything else

2.1.0

  • Introduce a new filter to allow to customize synced indices

2.0.1

  • Fix an error that would display PHP notices on search results pages

2.0.0

To upgrade from 1.7.0, follow the Upgrade instructions.

New features

  • Allow to re-order results by drag and drop from the autocomplete settings page
  • Allow to customize the header label of each result type of the autocomplete dropdown menu
  • Allow to disable powered by logo from the admin
  • Allow to re-index every index separatly
  • Keep existing index settings when re-indexing
  • Keep existing synonyms when re-indexing
  • Add a filter hook to specify the thumbnail formats to send to Algolia
  • Use new Algolia logo
  • Backend is now powered by Algolia when instantsearch.js is enabled in the frontend
  • New splitting strategy resulting in better relevancy and snippets
  • Add an “no results” template to the autocomplete dropdown

Enhancements & bug fixes

  • Remove custom post type algolia_task
  • Remove custom post type algolia_log
  • Do not rely on wp_footer begin called in themes
  • Bump number of items to index per batch up to 100
  • Updated JS dependencies
  • Update Algolia API Client
  • Remove local queue in favor of in browser queue
  • Remove the Algolia logger
  • Removed title 1-6 from records
  • Reduced the default size of json payloads
  • Push correct thumbnail URLs for attachments
  • Protect autocomplete and instantsearch from XSS
  • Remove outdated polyfills for empty search queries
  • Removed tether for autocomplete dropdown placement
  • Resolved conflict with Jetpack plugin
  • Resolved conflict with Toolset plugin
  • Fixed an issue were autocomplete settings needed to be saved again
  • The plugin does not push all image sizes anymore

1.7.0

To upgrade from 1.6.0, follow the Upgrade instructions.

  • Fix the condition to remove the powered by
  • Use autocomplete.js in noConflict mode
  • Also append Cookies to wp_remote_post test calls on indexing screen
  • Update WordPress tested up to 4.7
  • Ensure wp-util is always loaded before instantsearch.js or autocomplete.js
  • Enable Yoast frontend hooks when indexing records
  • Check if the API is reachable before executing CLI commands

1.6.0

  • Re-index indices instead of moving them when index name prefix is changed
  • Keep the synonyms configured on the Algolia dashboard when we re-index
  • Add a command to the WP-CLI integration to re-index a single index
  • Allow API Keys and index name prefix to be configured with constants to ease switching between environments

1.5.0

  • Split content attribute over several records if greater than 5000 bytes
  • Support changing prefix on indices having replicas
  • Add a constant to disable post splitting
  • Fix an issue where the index name would rely on a non existing ‘label’ key of the post type object
  • Replace Visual Composer shortcodes in posts

1.4.1

  • Fix the validity check for the Admin API key in the settings tab

1.4.0

  • Introduce the algolia_loopback_request_args filter to override loopback args. Allows queue to work with Basic Authentication
  • Allow user generated Admin API keys
  • Resolve logging performances causing queue to crash before being able to move _tmp indices to their final destination
  • Make sure “shortcodes” are parsed inside post excerpts
  • Add support for non UTF-8 content
  • Display a more explicit error when credential validation fails
  • Add a filter algolia_search_params to be able to filter backend search parameters

1.3.0

  • Make the plugin play nicely with the W3 Total Cache plugin
  • Fix an issue where the Cache Enabler plugin would break the autocomplete when JavaScript was inlined
  • Introduced a constant to hide admin help notices
  • Add WP CLI process-queue & re-index-all commands
  • Allow theme authors to get full control over the Algolia templates location
  • Stop the queue instead of trashing failed tasks
  • Allow users to delete all pending tasks
  • Allow users to stop the queue when it is running

1.2.0

  • Fix broken pagination on instant search page
  • Fix conflicts with plugins also using the PHP simple_html_dom library
  • Limit the maximum number of log entries to 50 by default
  • Fix an issue where empty errors would get logged during queue processing
  • Introduce class .no-autocomplete to disable autocomplete on search inputs
  • Add support for a new constant ALGOLIA_LOOPBACK_HTTP that allows forcing HTTP in queue loopback

You can access older changes here