You are here: Parts > Search > Learn About Search

Learn About Search

When you add a Search part to your web page, a field name, text box, and search button appear on the page for site users to search for information on your website. Results appear below the Search part similar to Google. The first line is a hyperlink to the web page. The next several lines provide a preview of the text that contains the word or phrase a user searched on. Words or phrases used in the search appear in bold.

Note: The primary difference between the Quick Search and Search parts is how results appear on your site. With the Quick Search part, you select a web page for results to appear on. With the Search part, results appear automatically below your Search part. You can add a Quick Search part to a web page template; however, we recommend you not add a Search part to a template.

The parts available for a search are indexed by part. For example, a Formatted Text and Images part contains “boy.” On the same page, a Discussion Group part contains “scout.” If a user enters “boy scout” in the search field, results do not appear because the same part does not contain both the words.

Warning: When the Search part performs a search, it includes all pages on your website that contain a searchable part. Therefore, the potential exists for search results to return unfinished web pages. To prevent this, establish security to restrict the users who can view unfinished pages.

Note: When a user searches for a word or term on your website, search results include pages only. Searches do not include templates or the parts on templates.

The Search functionality uses “stem” search. When a user enters a word in the search field, the search results include the word plus its plurals and verb tenses. For example, if a user searches for “run,” the search results return parts that contain the words “run,” “ran,” and “running.” The search also accepts certain operators and wildcards in the search text box, such as asterisks, quotation marks, and minus signs.

Operator

Function

Asterisk (*)

Begins with (For example, enter “donat*” to return results such as “donate,” “donating,” “donation.”)

Quotation marks (“ ”)

Whole phrases (For example, “Become a Member Now” returns results that contain the entire phrase.)

Minus ( - )

All words in search box, minus preceding word or words (For example, “event registration -form” searches for “event” and “registration,” but excludes results that contain “form.”)

Warning: When you search for a phrase and do not use quotation marks, you may not receive any results. For example, "Become a Member Now" returns results, while Become a Member Now does not. This issue is due to a SQL Server setting that specifies how SQL handles searches that contain “noise” words. For more information, see this article: http://msdn.microsoft.com/en-us/library/ms187914.aspx.
To fix the issue, run this SQL:
sp_configure 'show advanced options', 1
RECONFIGURE
GO
sp_configure 'transform noise words', 1
RECONFIGURE
GO

When a site visitor performs a search through the Search part, security is upheld. For example, a web page contains the Formatted Text and Images part with the phrase “Board Member Personal Addresses.” Only users in the Board Member role with the applicable task rights can access this page. When other users search for “board member + addresses,” the page is not returned.

For information about security, see Users & Security.

Design Search