官术网_书友最值得收藏!

Search unleashed

By John Godley (http://urbangiraffe.com/)

  • Why it's awesome: Turns WordPress' basic search into a full text searching monster
  • Why it was picked: Easy setup, multiple search algorithms
Search unleashed

Search is significantly more important than most people credit it. The ability to find content on your site is probably the most important aspect to running a successful blog. The Defacto search built in to WordPress is nice, but far from perfect. Search Unleash introduces powerful new methods to scour through your blog's data, including full text searching and Lucene powered searching.

Setting up your search index

A search index is a collection of information that is stored about each of your posts, pages, and other elements that contain text. This "Index" is then used during the searching process to quickly find the information that is relevant to the search terms provided by the user. Search Unleashed offers three types of search indexes.

Note

To select your search index type, click on "Options" within Tools | Search Unleashed

  1. Default WordPress: The Default WordPress search index is what all WordPress blogs come with out of the box, and while this search is acceptable for most blogs, it's a bit slow and doesn't offer much intelligence.
  2. Full-Text Search: As WordPress uses MySQL as its database, it's able to leverage MySQL's built-in full-text searching. MySQL's indexes are super fast, tested, and true. However, it can become slow when you are dealing with a blog that has more than 10,000 or more posts.
  3. Lucene: Lucene is an open source product released by the Apache Foundation. The same company that brought us the insanely popular Apache web server that your blog most likely runs on. Lucene is the undisputed heavyweight in open source searching. With its unique searching and indexing algorithms, Lucene will absolutely deliver the search goods.
Setting up your search index

Creating your first index

Once you have decided on which Search Index to leverage, you will need to build your first Index; we highly recommend Lucene. If you have decided to use the default WordPress index, then you can skip this section.

Note

To run your first index, click Search Index from within Tools | Search Unleashed.

Creating your first index

To initiate the indexing, you will need to click Re-Index.

Once you have completed your first index, you will not need to rerun it, as this process will now happen automatically. However, re-indexing your site is one potential solution if your blog search is not behaving properly, which can happen if data corruption happened during the indexing process.

主站蜘蛛池模板: 铜川市| 龙口市| 万山特区| 都兰县| 花莲市| 泰顺县| 泾阳县| 沾益县| 柳河县| 涟水县| 于都县| 仙游县| 眉山市| 改则县| 夏河县| 弥勒县| 班戈县| 姚安县| 金平| 安泽县| 多伦县| 伊金霍洛旗| 舞阳县| 亳州市| 沁水县| 弥渡县| 蒲江县| 淄博市| 绥棱县| 昌都县| 高要市| 临西县| 石棉县| 芜湖县| 罗平县| 宁波市| 吉木乃县| 玉门市| 芒康县| 齐齐哈尔市| 皋兰县|