這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Search

外掛說明

WPSearch 2 is a major update to the highest rated search plug-in for WordPress, WPSearch.
This plugin focuses on search relevancy and speed.

If you find this project useful and you want to support it, just follow @_kennyk_ on Twitter 🙂

The major features of WPSearch 2 are:

* Super-fast search speed
* Unmatched and customizable search relevancy
* Control over boosting the importance of title and content fields
* Instantly updated searching after a post has been written
* Searching of any type of post
* Wildcard and Boolean operator support
* Category searching

Requirements:

* WordPress 3
* The iconv library/multibyte support (Usually installed/enabled on a server by default. If not, have an admin compile PHP with --enable-mbstring).

Coming soon!: Exclude certain posts or categories (a long-standing feature request).

Note:

If you have a large site with over 10,000 posts, consider using WPSearch Premium,
which has all the power of this free repository version, but can handle up to 500,000 posts under heavy load and faster speed
with it’s low-level backend driver. To learn more, email kenny@oconf.org.

Manual Installation

Install WPSearch 2 from the WordPress plugin admin panel if possible.

If you are upgrading from a previous version, it is recommended that you rebuild your index after the upgrade.

* Copy the wpsearch folder to the WordPress plugins directory
* Set permissions of the wpsearch directory to 777 (very important!): $ chmod -R 777 wpsearch/*
* Activate wpSearch
* Go to Settings-->WPSearch Options, and click "Build Index"
* Click "Save Changes" and wait until the page reloads (this can take a while depending on the number of posts in your blog)
* Go to your blog's search box and search. Do the results look better? Cool!

Did you have trouble installing? Let me know! katzgrau@gmail.com

Note: Don’t forget the bit about changing folder permissions!

Fix Log

  • 2.0.3.0: Fixed file path inclusion issue for Zend library. Added notice in case user does not have multibyte support.
  • 2.0.2.5: Stopped WPSearch from interfering with admin post search, fixed error message in WP admin page registration
  • 2.0.2.0: Added customizable searching of post types, and a relevancy fix
  • 2.0.1.2: Fixed ‘quick edit’ javascript error due to erroneous inclusion, added fix for long indexing times
  • 2.0.1.0: Re-added ability to boost title and content, fixed pagination bug
  • 2.0.0.0: Complete rewrite with a bunch of new features. Check it out!
  • 1.5.0.5: Null Result Fix ( Finally! ), logging support, search library upgrade (ZF v1.5.3)
  • 1.5.0.1: Comment Searching, Foreign Character support, ‘Phone Home’
  • 1.5.0.0: Faster searching, core integration, 0 style or javascript includes

Known Conflictions

wpSearch is known to react with certain plugins which manipulate search results.
These plugins most likely expect the default WordPress search to in use, which it is not.
The following plugins are known to cause issues:

  • Custom Query String ( CQS )
  • Headspace2

Send all bug reports to ohcrap@oconf.org.

常見問題集

  1. Q: I get an error that says something like:

Parse error: syntax error, unexpected T_STRING, expecting ‘{‘ in /homepages/18/d179583305/htdocs/MLL-site/book/wp-content/plugins/wpsearch/Zend/Search/Lucene.php on line 82

What’s going on?

  1. A: This means you are using PHP 4.x.x or lower. The search library underneath wpSearch needs PHP 5 or higher to run.

  2. Q: Where do I send bug reports to?

  3. A: Bug reports are very appreciated! ohcrap@oconf.org .

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WP Search〉的開發相關工作。

參與者

將〈WP Search〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄