Sun Java System Portal Server 7.2 Command-Line Reference

psadmin list-search-resourcedescriptions

Description

Lists the resource descriptions from a search server.

Syntax

Long Format

psadmin list-search-resourcedescriptions --searchserver search-server-ID --searchtype search-type --adminuser admin-user [--passwordfile password-filename] --database database-name [--query query] [--viewattributes '"view1" "view2" "..." "viewN"'] [--startpage start-page] [--hitsperpage hits-per-page]

Short Format

psadmin list-search-rds -s search-server-ID -t search-type -u uid [-f password-filename] -d database-name [-q query] [-A '"view1" "view2" "..." "viewN"'] [-P start-page] [-H hits-per-page]

Options

The following options are required:

[--adminuser | -u] admin-user

Specifies the Administrator's ID.

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

Specifies the search server ID.

[--searchtype | -t] search-type

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

[--database | -d] database-name

Specifies the name of the database.

The following options are optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

[--query | -q] query

Specifies the query for by_category, by_url andby_query search types.

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

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

[--startpage | -P] 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 | -H] 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.