Looking into different options for better searching in wordpress. Currently wordpress uses a simplistic database query search that doesn’t allow much flexibility. This solution doesn’t scale well either. In all the rails projects I’ve been working on, Sphinx search has been pretty solid for finding related documents, and handling all our search functions away from our user facing servers. Indexing and memory usage are extremely efficient keeping our server costs low. This is fantastic.
While RoR is our preferred development framework, every once in awhile, we’ll slap together a wordpress site and I haven’t seen anyone try to implement sphinx as a plugin partially because it requires a bit more tinkering. However, recently I came across the following plugin that seems to provide a wordpress interface to the sphinx service. https://launchpad.net/wp-sphinx-plugin/+download
It looks promising and seems to autoconfigure the indexes for you including title, Posts, Pages and Comments. I didn’t see anything in readme about indexing tags which might be an issue. I’m also going to see if it includes functionality for providing field weights for preventing false positives.
Leave a Comment
You must be logged in to post a comment.