Sun Java System Portal Server 7 Command-Line Reference

Options

The following options are required:

[--adminuser | -u] uid

Specifies the Administrator's ID.

[--passwordfile | -f] password-filename

Specifies the name of the password file.

[--searchserver | -s] search-server-ID

Specifies the search server ID.

[--searchtype] search-type

Specifies the type of search. The values are all, uncategorized, categorized, by_category, by_url, by_query.

[--database] database-name

Specifies the name of the database.

The following options are optional:

[--debug]

Specifies if debug mode is turned on.

[--output] output-filename

Specifies if the output mode is used.

[--verbose | -v]

Specifies if the verbose mode is used.

[--query] query

Specifies the search query. The values are by_category, by_url andby_query.

[--veiwattributes] '"view1" "view2" "..." "viewN"'

Displays the list of view attributes. To pass a list of strings, use the format '” string1” “string2” “...” “stringN”'.

[--startpage] start-page

Specifies pagination. The startpage option is used with hitsperpage to manage how the results are displayed. The startpage option determines the page for a grouping of results, and hitsperpage determines how many results are in one group. The startpage value can be 1...n.

[--hitsperpage] hits-per-page

Specifies the number of hits per page that are displayed. It can be 1...n. For example, to display the hits in groups of 5 on the page, specify the value for hitsperpage as 5.