Searching with Google

The search functionality offered by [WordPress][] is — how to put it? — simple. You type some words and it makes a LIKE query against the titles and contents of your posts. So that’s kind of slow, doing a full scan through the posts table for each search without using any indexes at all.

What is worse is that it looks like the results are ordered by date and not relevance. So I’ve now made a little box which uses Google to search the site, which will hopefully give better results. As always, let me know what you think of this.

Leave a comment