Content Service Development: Customizing ALI Search

Introduction: Customizing ALI Search

You can customize ALI Search in a number of ways. This section summarizes recommended approaches to common customizations, describes their capabilities and limitations, and points to more complete documentation and sample code.

Snapshot Queries

Snapshot Queries can be used to provide advanced search functionality. Snapshot Queries display search results in a portlet, and cache results to avoid burdening ALI Search. For details on Snapshot Queries, see the portal online help.

Banner Search and Search Boxes

The banner search box is the text search field that appears at the top of each portal page.

By default, banner search will query for the text in the name, description, and full-text content of documents, document folders, communities, portlets, users, ALI Collaboration items, and ALI Publisher items. When a user is viewing a community or document folder, banner search also offers an option to restrict the search to the area being viewed. The following pages provide more information on customizing banner search:

Advanced Search Page

The advanced search page is used to add search constraints on portal properties. Administrators (but not standard users) can search a much wider set of object types from advanced search, including administrative objects.

The Search for Text field on the advanced search page behaves similarly to banner search, with a few minor differences; advanced search queries are never spell-checked and the thesaurus is not used, because this page is meant to be a more precise interface for expert users. The following pages summarize the most common customizations:

Search Results Page

The search results page is the portal page that users see after submitting any banner or advanced search. (This page is not used for Federated Search.)

You can customize the appearance of the search results page. There are some limitations because the portal uses this page in a number of ways; the Add Portlets and Join Communities pages are both customized versions of the search results page. The following pages summarize the most common customizations:

Portal Search Tracking

It is always useful to see what portal users are searching for in the portal, before and after making customizations. For more information, see Tracking Portal Search.

Federated Search

Federated Search provides access to external repositories without adding documents to the portal Knowledge Directory. Federated Search is especially useful for content that is updated frequently or is only accessed by a small number of portal users. For details, see Federated Search Services.

Related Topics

The following tracks and documentation provide more information on search-related topics:

Next: Customizing the ALI Search UI