wpSearch 1.5: The Fastest, Lightest Yet

After its first week in the wild, wpSearch has been run on a number of different versions of WordPress and PHP, highlighting some places to improve aspects of its core. wpSearch 1.5 has just been released, with a completely rewritten search mechanism to bring search speeds into the milliseconds.

Certain features available in wpSearch 1.x.x.x have been removed in favor of tighter integration with the WordPress core and raw speed. The search popup is no longer an option, removing the need for 2 javascript libraries, 2 CSS files, and 4 images. This decreases the page load time by close to 500 ms for a first-time page view over a broadband connection.

wpSearch now integrates its results into the WordPress search using pure WordPress API. Here are some statistics from version 1.5:

Indexing Performance: ~30 minutes for 6,000 posts (5 docs / sec)
Typical Search Speed: 30-100 ms over 1,000 posts
“Atypical Search” Speed: 400 ms over 1,000 duplicate posts with 1,000 matches
Indexing Performance: ~30 minutes for 6,000 posts

These stats were gathered on a non-dedicated development server with 1 GB Ram, 3.2 Ghtz Hyperthreaded Intel P4, with Windows XP, and a WAMP installation without any sort of code caching (like Zend Optimizer). Needless to say, this server isn’t the quickest, but it still turns out very impressive search times.

wpSearch 1.5 is also completely compatible with the latest release of WordPress, 2.6.

Get it here: http://wordpress.org/extend/plugins/wpsearch/

Keep the comments coming!

katzgrau@gmail.com

This entry was posted in PHP Development, Wordpress Development and tagged , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

6 Comments

  1. Posted July 25, 2008 at 2:36 pm | Permalink

    I’m going to download it and install as soon as I get back from work. Add my link to your blogroll man ;-) .

  2. Posted July 30, 2008 at 7:37 pm | Permalink

    Hey Kenny,

    I had to make a few other tweaks to my blog’s search results so this took longer than expected, but I’ve integrated wpSearch to the live version of my blog. It looks great, and I have a side-by-side comparison to prove it. I’m devoting my next post to wpSearch and will let you know when it’s up.

    Patrick

  3. Posted July 31, 2008 at 8:22 am | Permalink
  4. Posted August 5, 2008 at 12:05 am | Permalink

    Hey Kenny, this plugin looks really great; however, I’ve gotten multiple parse errors such as “Parse error: parse error, unexpected ‘:’, expecting ‘(‘ in /udontneedtoknow/blog/wp-content/plugins/wpsearch/wpSearch.php on line 191″ and other such things. I don’t have any other plugins that mess with searching on the blog, do you have any idea what it could be?

  5. Posted August 5, 2008 at 5:05 am | Permalink

    Is it possible to integrate this search functionality into Gallery from Menalto? I have integrated Gallery and WordPress and need to use one search functionality for both of them. Today I use Google Search.

  6. Kenny Katzgrau
    Posted August 5, 2008 at 4:57 pm | Permalink

    To Pxl_Buzzard -

    I sent you an email too, but I wanted to let you and anyone else having this issue that PHP 5 or above is needed for the underlying Lucene library.

    Hopefully this solves this issue.

    Thanks for reporting it!

    - Kenny Katzgrau

One Trackback

  1. By wpSearch 1.5.0.5 Released With Features, Fixes on August 7, 2008 at 1:09 am

    [...] 1.5.0.5, the first official release after the 1.5 landmark, brings to the forefront some of the features and fixes slated in the last post. wpSearch 1.5 has [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">