Sun Java System Portal Server 7.1 Technical Reference

Chapter 6 Search Attributes: Categories

This chapter explains the attributes available for Search Categories. This chapter contains the following sections:

Overview

End users interact with the search database in two distinct ways: They can type direct queries to search the database, or they can browse through the database contents using a set of categories you design. You assign resources in a search database to categories to clarify complexity. If a large number of items are in the database, it is helpful to group related items together. Your primary concern in setting up your categories should be usability so that end users can more quickly locate specific kinds of items.

The search server uses a hierarchy of categories called a taxonomy. The term taxonomy in general describes any system of categories. In the context of a networked resource database such as the search server database, it describes any method you choose of categorizing network resources to facilitate retrieval.

Manage Categories

When you click the Browse/Search tab under Categories, you will get the Manage Categories page. This page displays the categories in the taxonomy allowing you to browse the categories. You can also use this page to search for a category.

The attributes present in the Manage Categories page are shown in two tables. The first table lists the Manage Categories Attributes and the second table lists the Edit Category Attributes.

Table 6–1 Manage Categories Attributes

Attribute 

Default Value 

Description 

New 

 

Opens up the New Search Category page which you can use to create a new category. 

Edit 

 

Opens up the Edit Category page for that category where you can modify attributes of a Category. 

Delete 

 

Deletes the selected Category. 

Reindex 

 

Reindexes the database. If you have just created your taxonomy, you need to index the database to make category search available to your end users. If you have changed your categories, you need to reindex the database to make it up-to-date. Save the categories tree before you reindex the database. Load the new taxonomy. 

Search 

Blank 

Used to search for a Category. 

When you select the checkbox preceding to a Category and click the Edit button, the Edit selected Category name page appears. You can use the attributes in this page to edit a Category. The following table lists the attributes available in the Edit page and their description.

Table 6–2 Edit Category Attributes

Attribute 

Description 

Category 

Displays the Category name. 

Description 

Displays the description of the selected category. 

Matching Rule 

Displays the matching rule to use with the selected category. 

Manage Classification Rules

After you set up the categories for your database, Click New to set or change the rules the robot for selected categories to assign resources to categories.The table below lists the Classification Rules attributes and their description.

Table 6–3 Classification Rules Attributes

Attribute 

Default Value 

Description 

Source 

Author 

The valid attributes include: 

  • Author

  • Author-EMail

  • Content-Charset

  • Content-Encoding

  • Content-Language

  • Content-Length

  • Content-Type

  • Description

  • Expires

  • Full-Text

  • Keywords

  • Last-modified

  • Partial-Text

  • Phone

  • ReadACL

  • Title

  • URL

  • Host

  • Protocol

  • IP

  • Path

  • Type

Method 

is 

is, contains, begins with, ends with, regular expression 

Criteria 

Blank 

Specifies the criteria for the rule. 

Classification 

Blank 

Category to in which to classify the RD if the rule conditions are met. Type the category or use the Select a Category page to browse to it.