Enables users to search within the default document database or discussion database. Document and category matches are then displayed.
Enables users to search for documents based on author, title, URL within the default document database or discussion database, discussion, and/or comment. Users can also search on the last-modified date of a document. Advanced search is a more complex user interface, and supports customization. For more information, see Chapter 11, Customizing the Service Providers, in Sun Java System Portal Server 7.1 Developer Sample Guide.
Enables users to browse the category tree and search within categories.
Search results are displayed based on the categorySearch and viewHits properties. The list of properties specific to SearchProvider and their description are:
Specifies the JSP that is used to generate the channel content (by using the getContent() method).
Specifies the JSP that is used to generate the Edit page content (by using the getEdit() method).
Specifies the JSP that is used to process the results of an Edit page (by using the processEdit() method).
If true, makes SearchProvider show exceptions generated while processing the JSP as the channel output for the getContent() and getEdit() methods. This can be useful for developing and troubleshooting your portal, and for debugging the Search provider.
Specifies the Search server’s URL.
Specifies the number of hits that should be displayed per page. The maximum desirable number is 25. (The Edit page specifies to choose a number between 1 and 100.) This property is user editable. Edit page displays allowable values as 5, 8, 10, 16.
If true, specifies that the default search mode should be basic. (Users can set this to advanced if desired.)
Specifies the default search mode. Allowable values are basic, advanced, or browse.
Specifies the category search to be displayed by default. If set to false, category matches are not displayed.
The DiscussionsProvider is JSPProvider based and uses the Desktop themes. It retrieves data from the back end Search service using search taglibs and API. The discussions and comments are stored as separate Resource Descriptors (RDs) in the discussion database. Discussion RDs require special schema. See schema.rdm file in the /var/opt/SUNWportal/searchservers/search1/config/ directory.
Discussions are stored in the discussion database specified in the dbname property in the display profile. Search server host (searchServer property) and database name (dbname property) are advanced properties that can be configured in the display profile.
The list of properties specific to DiscussionsProvider and their description are:
Specifies the path to the search server. By default, the value is search1/search.
Specifies the discussion database where discussions are stored. Any valid database can be specified.
Specifies the number of discussions to display on the main discussion page (full view).
Determines how the comment subtree is displayed. It can be set to flat or threaded to allow the comment subtree to be displayed as flat or threaded.
Specifies the filter for searching and displaying discussions and this controls display of the subtree. It can be based on ratings such as irrelevant, routine, interesting, important, or must read. By default, its value is irrelevant; so all comments rated irrelevant and above are displayed. The Must read filter will highlight the highly rated comments.
It can be set to expand all or collapse all. By default, its value is set to collapse all. If set to expand all, it will expand all the filtered comments, show description, rating menu, and allow user to post reply via links.
A user configurable property. If set to true, the discussion link gets displayed on an entire page; that is, JSPDynamicSingleContainer is invoked. If set to false, the discussion gets displayed within the channel within the tab.
An anonymous user can submit comments. Default author value for an anonymous user is picked from this property. Default value is anonymous. For example, it can be set to unknown author.
Enable or disable Search in discussions.
Specifies whether or not to show a description of the discussion.
Specifies the type of rating that can be done on a discussion. By default, discussions can be rated as irrelevant, routine, interesting, important, or must read. This property is not used in this release.