Sun Java System Portal Server 7 Command-Line Reference

Chapter 10 Search Subcommands - Search Server Management

This chapter describes the folllowing subcommands:

psadmin create-search-server

Description

Creates a new search server.

Syntax

Long Format

psadmin create-search-server --searchserver search-server-ID --adminuser uid --passwordfile password-filename --webconfig properties-filename [--debug] [--output output-filename] [--verbose]

Short Format

psadmin create-search-server -s search-server-ID -u uid -f password-filemname -w properties-filename [--debug] [--output output-filename] [-v]

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.

[--webconfig | -w] properties-filename

Specifies the web container properties file.

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.

psadmin delete-search-server

Description

Deletes a search server.

Syntax

Long Format

psadmin delete-search-server --searchserver search-server-ID --adminuser uid --passwordfile password-filename properties-filename [--debug] [--output output-filename] [--verbose]

Short Format

psadmin delete-search-server -s search-server-ID -u uid -f password-filename propertiesFile [--debug] [--output output-filename] [-v]

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.

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.

psadmin list-search-servers

Description

Lists all search servers for a Portal Server domain.

Syntax

Long Format

psadmin list-search-servers --adminuser uid --passwordfile password-filename [--debug] [--output output-filename] [--verbose]

Short Format

psadmin list-search-servers -u uid -f password-filename --debug --output output-filename -v

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.

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.

psadmin get-popular-search

Description

The get-popular-search subcommand displays the popular searches from a search server.

Syntax

Long Format

psadmin get-popular-search --searchserver search-server-ID --adminuser uid --passwordfile password-filename [--debug] [--output output-filename] [--verbose] [--cache] [--nobrowsing]

Short Format

psadmin get-popular-search -s search-server-ID --adminuser uid --passwordfile password-filename [--debug] [--output output-filename] [-v] [--cache] --nobrowsing]

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.

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.

[--cache]

Specifies that the get-popular-search subcommand uses the cache results.

[--nobrowsing]

Specifies that the get-popular-search subcommand excludes browsing results.