documentation. ', 'als' ) ); ?>

You just gave your blog Google-like superpowers!

Please read up to the end.

Intro

Ajax Live Search was born to solve the problems people faced with other search plugins. We dissected and then reconstructed around 35 searching software, only keeping the best parts.

We then went through hundreds of search related academic papers, focusing on the ones that talked about machine learning, which happens to be the future of everything.

Using that knowledge, we built Ajax Live Search.

How it compares to other search systems

The WordPress Default Search (10% relevancy | Average Speed)

If you ask WordPress to search pages containing the phrase "I like eating raw tomatoes"; It will go from page one to the last page, reading each individual word and checking if it contains either of the words. i.e, It will fetch every article containing either the word "i", "like", "eating" or tomatoes.

It will then output the results in the order in which they were found. This is slow and returns lot's of irrelevant results. Almost all of the pages will match because they contain the phrase "I", but may lack the more meaningful phrase Tomatoes.

Other search plugins (60% relevancy | Slow)

Most search plugins will take the phrase then strip out "I" and "like" which are stop words. This leaves them with "eating raw tomatoes". They then fetch the results using the WordPress way and calculate the relevancy of a post by counting how many times the keyword appears in a given post.

Ajax Live Search (90% relevancy | Very Fast)

We start by indexing your published posts the same way Google indexes websites. That way, we don't have to check through all posts whenever searching for a given term.

When searching, we use a technique known as stemming to convert words into their root form. That way, when a user searches for eating, we also return results containing eat, eaten etc.

We then compare this to our previous searches log table then realise that people who search for phrases containing the word raw tend to exclude the word "-cooked". We also notice that they tend to include the word "onion" in the same query.

With this data; we reconstruct our query to look like this "-cook raw eat* tomato onion".

For each word, we use our index to get all pages that contain it, taking note of some factors such as how many times it appears in a given post and how old the given post is.

This data is used to calculate the relevancy of each page. And since we use an index, relevant results are fetched at a fraction of the time taken by WordPress.

For users of the pro version, we use linear regression (machine learning) to calculate the relevancy. This is x10 faster than the technique used by the lite version.

We tested several plugins on a database containing 1 million wikipedia articles running on an old computer with 512 mb ram. The pro version took an average of 135 milliseconds to search while the lite version took an average of 1.5 seconds. Most plugins were taking up to 2 days to index the data and 30 mins to fetch results.

The pro version caches previous results and uses machine learning making it the fastest search plugin on the market.

I intended to include all features with the free version, but decided to release a pro version and instead use the proceeds from the pro version to support a local charity run by my mom.

Don't worry, I reduced the price to ensure that everyone can afford it.

So please consider upgrading to the pro version. It costs a cup of coffee, and in doing so you will help send needy children to school and also get the following benefits:

  1. Earn money by displaying sponsored results at the top of regular search results.
  2. Download past searches and import them into your favorite keyword research tool.
  3. Keep your visitors happy by speeding search results up to x10.
  4. Use basic machine learning to show more relevant results to your users.
  5. Fetch more relevant search autocompletes from Google or YouTube and reduce the load on your server.
Would you rather drink coffee today or send poor kids to school tomorrow?
Upgrade to premium