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

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.

主站蜘蛛池模板: 潜山县| 尚义县| 聂拉木县| 长岭县| 临泉县| 永兴县| 丁青县| 漳平市| 阿尔山市| 宿迁市| 大连市| 玉树县| 景谷| 丹阳市| 松江区| 綦江县| 东辽县| 大姚县| 武平县| 汶上县| 新建县| 远安县| 辰溪县| 曲麻莱县| 汝南县| 特克斯县| 威宁| 漳州市| 榆林市| 塔城市| 彭阳县| 平陆县| 黑龙江省| 张家口市| 阜平县| 昌图县| 长沙县| 论坛| 安福县| 平顺县| 天水市|