Sun GlassFish Web Space Server 10.0 Administration Guide

ProcedureTo Customize the Search Behavior

  1. Log in to Sun GlassFish Web Space Server as the admin User.

  2. Click Add Applications from the Welcome menu.

  3. Add the Web Content Search portlet to your page.

  4. Click the Configuration button from the menu controls.

  5. Define the search behavior.

    • Article Type - Select the article type which need to be included in the search. The default search includes all types of articles. When you select an article type, the search includes only the articles of that type.

    • Only show results for articles listed in a Web Content Display portlet - By default, search includes all the articles that are listed in any of the instances of the Web Content Display portlet.

    • Target Portlet ID - Type the instance ID of the Web Content Display portlet to conduct the search only inside that particular instance of the portlet. Disable the “Only show results for articles listed in a Web Content Display portlet” option before you specify the target portlet instance ID.

  6. Click Save.