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

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.

主站蜘蛛池模板: 鹤山市| 茂名市| 甘南县| 家居| 新和县| 永昌县| 咸宁市| 喀喇沁旗| 江阴市| 沙湾县| 于田县| 凌云县| 交城县| 师宗县| 临海市| 台东县| 凤台县| 通山县| 聂荣县| 榆树市| 商洛市| 上饶市| 纳雍县| 三原县| 平泉县| 宣武区| 丰台区| 姜堰市| 宁化县| 颍上县| 栾城县| 土默特左旗| 那曲县| 民勤县| 西贡区| 海原县| 屏边| 曲麻莱县| 淮南市| 葵青区| 长阳|