You can customize Plumtree 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 can be used to provide advanced search functionality. Snapshot Queries display search results in a portlet, and cache results to avoid burdening the Search Server. For details on Snapshot Queries, see the portal online help.
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, Collaboration Server items, and Content Server 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:
Customizing the Plumtree Search UI: Change the default behavior of banner search to query for different types of objects, add search categorization properties, or add search boxes to the portal page.
Searching External Repositories: Replace portal search with Federated Search or an external Search Web Service.
Creating Search Portlets: Create portlets with search boxes that provide access to banner search functionality.
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:
Customizing the Plumtree Search UI: Change the look of the advanced search page or change the default behavior of the queries run from the advanced search page.
Creating Search Portlets: Create portlets that provide access to advanced search, or replace the advanced search page with a custom search portlet.
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:
Customizing Search Results: Customize the look of the search results page, add properties and other data to the returned search results, or add a "Sort by" entry to the toolbar on the results page.
Improving Relevance Ranking: Improve search results ranking and customize the thesaurus used by the Plumtree Search Server.
Searching External Repositories: Use Plumtree Search Server to search or index content from external sources.
Creating Search Portlets: Create a portlet that displays search results, or upgrade a 4.5/4.5WS portlet that calls IPTCardSearch or IPTFolderSearch.
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.
The following tracks and documentation provide more information on search-related topics:
Portal Event Interfaces (PEIs) are extensions that you can add to the portal UI to perform common customizations. Information on search-related PEIs is provided on the pages above. For more details and sample code, see Using Plumtree Event Interfaces (PEIs).
Search Services provide access to external repositories without adding documents to the portal Knowledge Directory. Search services are especially useful for content that is updated frequently or is only accessed by a small number of portal users. In the portal, search services are called Federated Search. For details, see Developing Custom Search Services.
The PRC Search API is part of the Plumtree Remote Client (PRC) and is a SOAP (Web services) API that runs search queries against the Plumtree system. This is the friendliest search API that Plumtree offers, although it is not quite as powerful or as fast as the Plumtree Server API. For details and sample code, see Extending Server Functionality with Remote APIs : Extending Search Server Functionality. For details on search parameters, see Plumtree Knowledge Base article Search Results Page URL Format.
The Plumtree Server API is the lowest-level public programming interface to the Enterprise Web. This is the API that is called by the Portal UI to create objects, run searches, and so on. It is available in Java and C#, and requires that the Portal Server (Plumtree.dll) be installed on the machine where the code is running. The search portion of this API is called the PTSearch API, and it includes interfaces IPTSearchRequest and IPTSearchResponse. The PTSearch API is less friendly but somewhat more powerful than the PRC Search API. Plumtree recommends using the PRC Search API when possible, but many UI customizations require the PTSearch API. The PTSearch API is covered on the Creating Search Portlets page.
The Portal UI is the general term for the Java or C# code that renders the portal user interface. The code for the banner search box, advanced search page, and search results page are all parts of the Portal UI. For details on portal UI components, see the Portal Architecture Overview.