| How to divide
your site into independently searchable sections?
With Search Engine Composer, you can build a search box
that enables your users to search your entire site or specific
catagory of your site.

There are two steps involved in allowing your visitors to
search by category: Divide your index into categories, and
customize search query box to access those categories.
How to
divide your index into categories?
You can define categories of your search in the "Options"
window, "Categories" panel.
Each category specification consists of a category name and
a "match pattern". For example:
products http://www.mysite.com/store/products/*
Sales
http://www.mysite.com/store/sales/*
Others
http://www.mysite.com/*
When determining which category specification to apply, the
first matching category specification will be used.
The "match pattern" is simply a standard web address,
but may contain the common wildcards "*" and "?"
to make it match more than one web address, for example "http://www.mysite.com/store/*".
The "*" will match any number of any character and
the "?" will match any single character. The characters
are matched without regard to case (case-insensitive). You should
include the "http://" or "https://" in your
URL masks.
How
to
customize search box to access categories selection?
In the "Options" window, "Search box" panel,
check "Add categories selection to search box". There
are two kinds of selection styles: drop-down list and checkbox.
|