WPSearch

What is wpSearch?

In short, wpSearch is a search plugin for WordPress. It is based on the open source search engine ‘Lucene’ which means it’s fast, and relevant. It allows a WordPress user to create a Google-like search on their blog — complete with boolean logic, wildcards, and incredible relevancy. This plugin allows a user to search their blog and view results with a power unrivaled in the WordPress world. Here is a more in-depth (and long-winded!) discussion on why it could be the best search for your blog.

The basics of wpSearch are simple (this is covered in more detail in the installation document):

  • Step 1: Install wpSearch in your plugins directory and activate it through the WordPress administration page.
  • Step 2: Go to the wpSearch Settings page and build your blog’s ‘search index’ (the search engine’s database) in one click
  • Step 3: Check out your new blog search — maybe even blog about it!

Why was wpSearch created?

There are quite a few ways to search a blog. The way most users implement a search on their WordPress blog is by simply using the default search functionality of WordPress. The default search WordPress provides is flawed in two ways: The search is build from dynamically generated database commands; The actual search quality is fairly poor, not to mention slow.

Overcoming the issue of search quality has been attempted by many dedicated WordPress users. Some user-developers have implemented their own WordPress search algorithm, trying define what they think is relevant in a search. These methods have one thing in common: They use the SQL fulltext search. These searches may bring back a set of matching results, but you certainly can’t expect them to be in order of true relevancy. Databases just weren’t made to do that.

Another method of blog search has come about. This method uses a real internet search engine, such as Google. These search plugins simply query a real web search engine (such as google) and output the results to the blog. This method usually solves the relevancy issue and also helps improve the speed issue. But there is one thing wrong with this approach: Google can take up to two weeks to update its index, meaning a WordPress post might not be searchable until well after it is relevant. This method is not for time-sensitive material.

So,

wpSearch is a WordPress plugin. This means that everything needed to implement wpSearch on your blog can simply be ‘plugged’ in to your existing WordPress installation.

The wpSearch tries to be as easy to use for the average blogger as possible. Once it is plugged-in, all searches automatically take place through wpSearch, bypassing WordPress’ slow keyword search.

Right now, wpSearch has been released under version 1.5. This latest version is extremely fast and lightweight. Check out the screen shots and play with the plug-in if you would like to check it out. It is an open source plugin, and anyone willing to contribute to this project is welcome.

Features

The major features of wpSearch are:

  • Unmatched and customizable search relevancy (that’s the power of Lucene working)
  • Very fast search speed
  • Wildcard and Boolean operator support
  • Easy installation
  • Instantly updated searching after a post has been written
  • Searching of Posts and Pages

Features for advanced users:

  • Access to the internal search service for extendability

5 Comments

  1. evan
    Posted January 19, 2011 at 4:28 am | Permalink

    I use WP version 2.8.x and 2.9.x. Can I use this plugin? because it written: Requires WordPress Version: 3.0 or higher. Or which parts of code should be re-write to make this plugin suitable for 2.8 and 2.9.

  2. Posted March 4, 2011 at 11:49 am | Permalink

    First I want to say thank you for this plugin! This is the first of many search plugins that I have tried that actually worked. I give 5 stars to you. But I have a few questions and/or feature requests/recommendations.

    1) Is there a way for it to filter out pages that are marked “private” at least for people that are not logged in? Currently anyone in the public can see private posts through search.

    2) We use WordPress mainly as a CMS with many pages and few posts, many of our pages have tables located near the top of the page. Is there a way to have the output skip any text within a <table> (or an option to do so since this may be desired by some).

    3) Finally, and this may be available and I just missed it, would it be possible for the search results to only consist of the_excerpt(), but the index being built from the_content()? – or is this just the way I need to set up the search results page?

    Thanks again for your awesome plugin,

    Jay

  3. Posted March 4, 2011 at 12:07 pm | Permalink

    Regarding last comment. I just realized the private pages are not showing in the results, I had assumed by a parent page being private all children pages were also considered private. please disregard #1 in the last comment.

  4. Posted May 14, 2011 at 1:32 pm | Permalink

    Care to share with us a way to use Solr instead of local Lucene. Thank you!

  5. David Grant
    Posted May 19, 2011 at 11:39 pm | Permalink

    I am trying to use both your plugin and Matthew Taylor’s Result Count plugin anbd they seem to be incompatible. Used together, Taylor’s plugin doesn’t recognize when there are more than a page-full of posts. With your plugin disabled, however, it works fine.

    It looks like your search plugin resets the WP_query found_posts variable so that it is the same as post_count. Does that make sense?

17 Trackbacks

  1. By A Lucene-based Search Plugin For Wordpress on June 30, 2008 at 8:04 pm

    [...] information about wpSearch (installation instructions, screenshots, etc) is available on wpSearch’s project page. Share: These icons link to social bookmarking sites where readers can share and discover new web [...]

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

    [...] coming up for wpSearch include result highlighting, contextual snippets, and a progress meter for index building.  I [...]

  3. By New to Building the Ergonomic Guitar? on August 18, 2008 at 11:05 pm

    [...] home page, you have several easy ways to find what you want: 1. Use the Search box – powered by wpSearch – to track down [...]

  4. By wpSearch - WP Plugin Archive on September 9, 2008 at 6:28 am

    [...] wpSearch ist ein Such-Plugin für WordPress. Es basiert auf der Open Source Search Engine “Lucene” und ist schnell und liefert relevante Ergebnisse. Man kann eine Google-artige Suche mit Boolean Logik, Wildcards usw. realisieren. Bookmarks setzen: Diese Icons verlinken auf Bookmark Dienste bei denen Nutzer neue Inhalte finden und mit anderen teilen können. [...]

  5. By 20+WordPress搜索插件 | 帕兰映像 on September 10, 2008 at 1:43 am

    [...] wpSearch [...]

  6. [...] wpSearch [...]

  7. [...] wpSearch [...]

  8. By 20 Search Plugins for Wordpress | Google Specialist on December 21, 2008 at 5:43 am

    [...] wpSearch [...]

  9. [...] wpSearch plugin is like having your own custom search engine on your blog. wpSearch is based on [...]

  10. By 4webmasters » Top 1000 WordPress Plugin Authors on December 30, 2008 at 10:01 pm

    [...] wpSearch [...]

  11. By 20+WordPress搜索插件 | Jack 's blog on April 12, 2009 at 11:44 pm

    [...] wpSearch [...]

  12. [...] finally stumbled onto the fantastic WordPress plugin wpSearch. Kenny Katzgrau built wpSearch using the open source search engine Lucene for dramatically more accurate search [...]

  13. [...] the Search Reloaded plugin. Unfortunately, it wasn’t free. Someone in the comments suggested wpSearch (a Lucene-based search engine), but unfortunately it had annoying problems with indexing after [...]

  14. By ArchivePress » Blog Archive » Plugins on August 24, 2009 at 4:15 pm

    [...] other plugin that looks particularly interesting is the Lucene-based search plugin, wpSearch. This looks like it could add a superior search experience over a large blog – or blog [...]

  15. [...] other plugin that looks particularly interesting is the Lucene-based search plugin, wpSearch. This looks like it could add a superior search experience over a large blog – or blog [...]

  16. [...] other plugin that looks particularly interesting is the Lucene-based search plugin, wpSearch. This looks like it could add a superior search experience over a large blog – or blog [...]

  17. [...] still returning them by date and not relevance. After some trial and error, I decided on using the wpSearch plug-in. Now, I can customize the relevancy of the results, which worked well on the old [...]

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="">