Search adds site-wide search. Visitors search everything at once, and see the best matches from each kind of item: profiles, audio, blog posts and so on. Skins put a search box in the header. Modules can add their own search box that searches only their items. It comes with Jamroom.
ACP > Modules > Listing > Search
Search Method decides how a search is read:
AND, OR or NOT is read as a natural-language phrase. Shorter ones are read as keywords.AND, OR and NOT combine them.If nothing matches exactly, Include Partial Matches runs a second search for words that contain the search term.
Fields you add with the Form Designer aren't searched until you list them under Additional Search Fields, one per line. Add a weight to make a field count more: profile_location,10 makes a match there 10 times as important.
If results are missing, run Tools > Rebuild Indexes.
Search Options
| Setting | What it does |
|---|---|
| Additional Search Fields | Extra fields to search, one per line, with an optional weight |
| Include Partial Matches | Searches for partial words when there are no exact matches (default: on) |
| Optimize Queries | Speeds up some searches. Turn it off only if result pages look inconsistent. (Default: on) |
| Log No Results | Logs searches that found nothing to the Activity Log (default: off) |
| Search Method | Default, Keyword Only, or Natural Language Only (see above) |
Display Options
| Setting | What it does |
|---|---|
| Index Result Count | Results shown from each module on the main results page (default 4) |
| Module Result Count | Results per page when viewing one module's results (default 12) |
| Search Result Order | The order of the modules on the results page. Click Set Result Order to change it. |
Index Options and Disabled Modules
| Setting | What it does |
|---|---|
| Unique Module Indexes | Gives a module its own search index. It can speed up searches in modules with very many items. Most sites should leave it empty. |
| Disabled Modules | Modules whose items are never searched or indexed |
The Site Search widget puts a search box on a Site Builder page.
The site-wide search box:
{jrSearch_form class="form_text" value="Search Site" style="width:70%"}Shows the site-wide search form.
A search box for one module's index page, searching only the fields you name:
{jrSearch_module_form module="jrBlog" fields="blog_title,blog_text"}Shows a search form for one module.