How to Use the Joomla Smart Search Extension

Joomla 2.5 shipped with many new features including multi-database support and much improved one-click upgrades.

One the most important of those features was a brand new search extension: Smart Search. Smart Search is destined to be the replacement for com_search which has been around since 2005 at least.

Smart Search is disabled by default but it's easy to enable and is a big improvement.

How to Enable Smart Search

Go to Extensions > Plug-in Manager and enable the Smart Search plugin.

tutuploadsmedia_1328725762235.png

Go to Components > Smart Search and click Index in the toolbar.

tutuploadsmedia_1328723806330.png

You'll see a progress bar as Joomla indexes your site. This is the first and last time you'll need to run this indexer.

tutuploadsmedia_1328723824698.png

When you're finished, you'll see all of the indexed content as in the image below:

tutuploadsmedia_1328723848706.png

Now that your content is in Smart Search, go to Extensions > Module Manager and place your Smart Search module live on your site.

tutuploadsmedia_1328724276032.png

The Smart Search module will look exactly the same as the normal Search module.

tutuploadsmedia_1328725992541.png

However, when you use the module, the Smart Search results will look very different:

tutuploadsmedia_1328726668042.png

There is also an Advanced Search feature to allow people to drill down more accurately:

tutuploadsmedia_1328726182155.png

Click on the Advanced Search and you'll be presented with the ability to filter your search by Author, Category, Country, Language, Region and Type.

tutuploadsmedia_1328726197146.png

Content Maps

Those settings we saw in the image above can be edited in the administrator area of the extension. Go to Components > Smart Search and click Content Maps.

tutuploadsmedia_1328723961580.png

Click on Type and you'll see your site content divided into Articles, Categories, Contacts, News feeds and Web links.

tutuploadsmedia_1328723945587.png

Click on Author, for example, and you'll information about each one. You can unpublish any of these if you don't want them included in the filters.

tutuploadsmedia_1328724004043.png

Search Filters

Smart Search also allows you to create pre-defined filters so you can provide your users with a specific set of results. Go to Components > Smart Search > Search Filters and click New.

You can create a filters with any or all of the Authors, Categories, Countries, Languages, Regions and Types that we saw before. You can also filter by date.

tutuploadsmedia_1328724181529.png

In order to allow people to use the filter, make a menu link. Go to Menus > Main Menu and click New.

Choose Smart Search > Search.

tutuploadsmedia_1328724470000.png

Your Filter settings are on the right-hand side.

tutuploadsmedia_1328724523035.png

Choose the filter that you wish to provide to your users and save the menu link. Users will now only be able to search within those results.

tutuploadsmedia_1328724547761.png

Configuring Smart Search

Inside Components > Smart Search > Options there are a lot of configuration settings available.

tutuploadsmedia_1328727288126.png

Click on Index and you can also change the weight given to different factors in the search results:

tutuploadsmedia_1328727322592.png

Smart Search looks wonderful, right? Why on earth would you not rush out and make it the default on your site? Two reasons:

1) Smart Search currently only support the Joomla core extensions, unlike the old Joomla Search component. That's why Smart Search is still turned off by default. Hopefully enough developers will make their extensions work with Smart Search that it will be come the default for Joomla 3.0 later this year.

2) It's not been heavily tested on large sites. It's a new feature and some bugs will inevitably emerge.

It won't be long however before Smart Search is ready for prime time and becomes the default Joomla search extension. It's a huge improvement. Give it a try!