Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Portal Server 6 2005Q1 Technical Reference Guide 

Chapter 7
Search Attributes: 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.


Category Editor

The Category Editor page displays a listing the categories in the taxonomy allowing you to browse the categories. After browsing to the category, you may select the category link to bring up the Classification Rules Editor to set up the Robot collections under specific categories.

Table 7-1 lists the Category Editor attributes. The table contains three columns: the first column identifies the attribute, the second column provides the default value for the attribute, and the third column describes the attribute.

Table 7-1  Category Editor Attributes  

Attribute

Default Value

Description

Expand All

 

Expands the taxonomy so that all entries in the hierarchy display for browsing.

Collapse All

 

Collapses the taxonomy so that only categories within the first two levels of the hierarchy display for browsing.

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.

Categories per page

 

Drop down list of the number of categories to display per page. Values are 25, 50, 100, 250, 500, and all.

Name

25

Displays the name of the selected category to edit

Description

Blank

Displays the description of the selected category.

Matching Rule

Blank

Displays the matching rule to use with the selected category.

Update

 

Updates the category definition.

Add as a Subcategory (PER BUG ID 5070893)

 

Adds the category as a child or a sibling.


Classification Rules Editor

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. Table 7-2 lists the Categories Classification Rules Editor attributes. The table contains three columns: the first column identifies the attribute, the second column provides the default value for the attribute, and the third column describes the attribute.

Table 7-2  Categories Classification Rules Editor 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 Category Edit page to browse to it.



Previous      Contents      Index      Next     


Part No: 817-7696.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.