One of my biggest issues with Wordpress is about its search. The default search is not really useful, neither does it show the relevancy nor does it search the entire content for results. In the entire content I include the excerpt and the custom fields of posts at the least. It will become a serious issue as Wordpress is getting more attention from the corporate world, and might probably become a factor for its comparisons with other candidates. Even from the usability perspective, it is one of the most popular ways of getting information and cannot be ignored. I have found that it is not only me, there have been rants and inputs and contributions from various corners and from various angles. Here are some contributions and ideas from around the web:
Advanced Search by Weblog Tools Collection
Weblog Tools Collection has a nice plugin (through a hack) for enhancing the search. It provides fuzzy searches and some nicer integration in the Wordpress.
However, I have a couple of problems with this plugin:
- Changes Wordpress Database Structure: It includes an upgrade script that changes the Wordpress database structure. It actually changes the data types of the excerpt and title to FULLTEXT index. This is mainly because the search finesse of this plugin is based on the MySQL FULLTEXT search functions. The biggest disadvatage of this hack is that it will not work if Wordpress changes the database structure that will disrupt this upgrade. And it still does not include the custom fields.
- No Boolean Searches:It does not allow boolean searches. Boolean searches are supported inherently by MySQL 4.0.1 onwards. These cannot be used by default since Wordpress supports MySQL 3.23.23 version. However the plugin can use the wpdb variable to identify versions and use the inherent capability for version greater than 4.0.1 and David Altherr’s boolean search functions or Boolean Search Plugin by Beau Collins for the lower versions.
Search Reloaded Plugin by Semiologic
Denis de Bernady’s Search Reloaded Plugin is a more appropriate solution and is an actual plugin. The plugin actually does dynamic indexing. It reindexes whenever a post is edited, saved or published. This is fine, however, it will slow down the response for a heavier database. To be able to support this, indexing has to be carried out separately and probably as a scheduled task. However, it has its own complications and cannot be solved just through a plugin. And even this plugin does not look into other content types like the custom fields.
Latent Semantic Indexing
Elliott points towards Latent Semantic Indexing (LSI) for improving the search. It might not be a viable option today, but it might be future of the search industry. Natural Language Processing is already being used in certain search functionalities.
Using Google and Yahoo Search
Another option is using Google and Yahoo Search, something what Wordpress.org search does. It is not very difficult to setup. However its problems lie elsewhere. It needs a public web presence, which might not be the case for corporate internal blogs. This has become more possible with the Wordpress multiuser version out. Secondly, they will have their own restrictions, and thirdly the dependency on it. This is not going to help Wordpress to make it a serious contender in the corporate space.
Wordpress is one of the leading CMSs for building blogs. But blogs themselves have transformed into media publications and information management sites. With this happening, search will be a bigger factor to consider. Wordpress has to support some solution inherently to be part of improved blogging solutions.
Technorati tags: search, search plugin, boolean search
Copyright Abhijit Nadgouda.



August 9th, 2006 at 10:14 pm
[...] search: the search is partially effective. It neither supports relevancy and does not search across pages, excerpts or custom fields. There are certain solutions, but still not what the industry expects. [...]
September 7th, 2006 at 12:44 am
[...] I am not happy with the default search. I might try some of the alternatives or try something completely new. I already tried the Raw Sugar option, but it has not worked as expected. Maybe I am doing something wrong, need to dig into it. [...]
November 21st, 2006 at 10:46 pm
[...] I think Wordpress really entered the market with the release of Wordpress MU. Wordpress is a fantastic blogging tool, and being open source it receives contributions from the user-base all over the world. The only think I see lacking in Wordpress for enterprise usage is search. Otherwise Wordpress has already proven itself in installations like these, and lets not forget Wordpress.com. [...]
December 25th, 2006 at 2:30 am
I’ve been looking for boolean functions for posts- for instance- a Real Estate site might want to give visitors the ability to search for all “Commercial property” size- 10,000- 50,000 sq ft, under 1 Million $.
Haven’t found a good solution yet-
but did find this plug-in and would be interested in what you think:
http://www.zirona.com/software/wordpress-advanced-search/
December 25th, 2006 at 11:49 pm
Interesting, I will try it out soon. Thanks David.
January 31st, 2007 at 5:48 am
Have you come up with any good solutions to this yet? I’m really frustrated with the search abilities and have the same reservations about the Plugins you’ve listed. They just aren’t working for me. Any luck yet?
January 31st, 2007 at 2:57 pm
[...] Lorelle’s comment jump-started my will to look for better Wordpress search. After some digging around, I decided that I did not want to change the database structure as that could cause problems with future upgrades. This threw away most of the search engines out. Currently I am experimenting with the Google Co-op to create a custom search engine. You can search as well as see the search results on the Search page. I will experiment more, possibly with Rollyo and Yahoo! Search Builder. However, these might not be suitable for many businesses and internal blogs. [...]
January 31st, 2007 at 2:59 pm
Thanks for reminding Lorelle
I have restarted my efforts, currently experimenting with Google Co-op.