Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Improve WordPress Search using Amazon CloudSearch with Lift

Last updated on by
Follow WPBeginner on YouTube
How to Improve WordPress Search using Amazon CloudSearch with Lift

It is no secret that the built in WordPress search feature is not that great. People have tried to improve their site search by using options like Google Custom Search, or one of the many existing plugins that claim to improve the search functionality. In this article, we will show you how to install and setup Lift: Search for WordPress plugin to improve your default WordPress search feature by leveraging the search power of Amazon CloudSearch. Don’t worry, it is not as hard as it sounds. You won’t need to write a single line of code.

Features

  • Lift: Search is powered by Amazon CloudSearch, which actively maintains an index of documents on your website and provides more relevant results.
  • It can search your blog, as well as images and other media uploaded using Media uploader.
  • The plugin comes with a search widget to replace default WordPress search widget.
  • Works with any WordPress theme and seamlessly integrates itself with default search template.
  • For advance users, there are template tags available which they can use to create their own customized templates.

Minimum Requirements

Lift: Search uses Amazon Web Services’ CloudSearch App to create an index of your website. To use this plugin you will need an Amazon Web Services account with CloudSearch enabled. You can sign up for Amazon Web Services account. During the signup, you will be asked to provide credit card information. AWS has several billing and pricing plans, but there is no signup fee.

In other requirements, you will need PHP version 5.3 and WordPress verson 3.4.2 or later. Without latest versions the plugin will fail to activate with a fatal error message.

How To Install and Setup Lift: Search for WordPress

Install and activate the Lift: Search for WordPress plugin. Once activated, the plugin will take you through a step by step wizard to setup and integrate Lift: Search with your Amazon Web Services Account. You will have to provide AWS Account Access and Account Secret keys. Go to your AWS account and click on Security Credentials under My Account/Console tab on top.

On Security Credentials page your will find your Account Access and Secret Keys.

Copy and paste those keys in Lift: Search configuration wizard and click Save configuration.

In the next step you will be asked to provide the domain you want to use with CloudSearch. If the domain is not listed on your CloudSearch, then Lift: Search will attempt to create and list it. Once the set up is finish you can visit Lift: Search dashboard where you can manage settings.

Configuring Lift: Search Settings

Lift: Search provides a very simple and clean interface where you can monitor the indexing of your documents. It shows a green “All Clear” flag when everything is working fine, orange flag if something is stopping Lift: Search from connecting or syncing documents with CloudSearch, and red flag when it has some critical problem. There is a message log at the end where you can see a detailed description of the error and resolve it.

You can also set the time interval for syncing. For larger and busier websites with frequent updates this interval should be minimum, but for websites with less frequent updates this interval could be adjusted accordingly. While adjusting these settings, remember that CloudSearch is a pay as you go service so you should optimize your usage to reduce the cost.

You will also find an ON/OFF button on the settings page. Use this button when you want to stop the plugin without deactivating it for debugging purposes.

Overall, Lift: Search greatly improves performance for busier sites by using an external service to index content and making search more relevant. The question is, would you use external options such as Lift: Search or Google Custom search, or you would rather want WordPress search to be improved?


Editorial Staff at WPBeginner is a team of WordPress lovers led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »
  • Mr Alexander

    Hi,

    Its a nice example and perhaps a good introduction to Lift and CloudSearch.

    The issue is that Lift’s documentation is almost non existent which makes it very difficult to figure it out initially.

    For example, how to add a taxonomy as a search field? The documentation doesn’t brush on it at all but their git account hase some examples which are also very unclear.

    Its a great software, otherwise, once you figure it out.

  • Joe C

    I setup Amazon Cloudsearch at my website (www.omnimedfinancial.com)….The search capabilities are much much better than what I had…

    Important: My prior search allowed me to exclude a category from searches….It appears that Amazon has indexed everything at my site….How can I exclude a category in Amazon CloudSearch using Lift for WordPress???

    Amazon has information about deleting files….not very clear….

    Q: How do I delete documents from my search domain?
    To delete documents you specify a delete operation in your SDF document that contains the id of the document you want to remove and a document version number greater than the current version number for that document.

    You can submit data updates through the Amazon CloudSearch console, using the cs-post-sdf command, or by posting a request directly to the domain’s document service endpoint.

    I do not want to have to delete one by one….I want to auto exclude category 36.

    Thoughts?

  • Nick Gernert

    Thanks for the writeup on Lift!

    We have much planned for the plugin here in the future, but any initial feedback and thoughts is hugely appreciated.

    One point of clarification here is that the plugin doesn’t yet support the indexing of attachments, but that functionality is on our development roadmap for the plugin.

  • Joseph Chambers

    Have you ever looked at apache solr? Can Lift do faceted searches?

    • Chris Scott

      Lift can do faceted searches since CloudSearch supports them. We are going to update the docs and FAQs with the index schema to list which fields are faceted. This can be changed after Lift sets up the initial index if desired. We will also have some docs soon for customizing the front end to support facets and other customizations.

  • Bjørn Johansen

    Are there any advantages at all on using Amazon over the excellent Relevanssi search plugin?

    • http://www.wpbeginner.com Editorial Staff

      Amazon CloudSearch has their own powerhouse algorithm that it uses to organize searched content. At the end of the day, it comes down to your personal preference. Some will use Google Search, others will use Relevanssi, some will use Amazon cloud search, while others will leave the default search as is.

  • Scott

    I’m curious to hear if there are options/customizations to include custom post types in the search – say for a WooCommerce implementation – or are all post types included by default?

    • Hamzah

      +1 i need the answer for the saame

      • Gary

        The defaults are ‘post’ and ‘page’ (line 36), and custom types can be added via the ‘lift_indexed_post_types’ filter (line 599).