Sun Java System Portal Server 7.2 Command-Line Reference

Chapter 13 Search psadmin Subcommands - Robot Administration and Autoclassify

This chapter describes the following commands:

psadmin get-robot-status

Description

Displays the search robot status.

Syntax

Long Format

psadmin get-robot-status --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename]

Short Format

psadmin get-robot-status -s search-server-ID -u uid [-f password-filename]

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.

The following option is optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

psadmin start-robot

Description

Starts the search robot.

Syntax

Long Format

psadmin start-robot --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename]

Short Format

psadmin start-robot -s search-server-ID -u uid [-f password-filename]

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.

The following option is optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

psadmin stop-robot

Description

Stops the search robot.

Syntax

Long Format

psadmin stop-robot --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename]

Short Format

psadmin stop-robot -s search-server-ID -u uid [-f password-filename]

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.

The following option is optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

psadmin create-robot-site

Description

Creates a search robot crawling site.

Syntax

Long Format

psadmin create-robot-site --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --sitename site-name [--isdomain] [--depth depth] [--database database-name]

Short Format

psadmin create-robot-site -s search-server-ID -u uid [-f password-filename] -S site-name [-l] [-D depth] [-d database-name]

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.

[--sitename | -S] site-name

Specifies the site name for the robot to crawl. For example www.siroe.com.

The following options are optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

[--isdomain | -l]

Specifies if the site is a domain.

[--depth | -D]

Specifies the link depth to be crawled.

[--databasename | -d databasename]

If the database name is not specified explicitly, the command takes the default database.

psadmin delete-robot-site

Description

Deletes a search robot crawling site.

Syntax

Long Format

psadmin delete-robot-site --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --site site-ID

Short Format

psadmin delete-robot-site -s search-server-ID -u uid [-f password-filename] -t site-ID

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.

[--site | -t] site-ID

Specifies the robot site ID. Use the list-robot-sites subcommand to find the site ID.

The following options are optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

psadmin list-robot-sites

Description

Lists the search robot crawling sites.

Syntax

Long Format

psadmin list-robot-sites --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] [--site site-ID]

Short Format

psadmin list-robot-sites -s search-server-ID -u uid [-f password-filename] [-t site-ID]

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.

The following option is optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

[--site | -t] site-ID

Specifies the robot site ID to be displayed. If not specified, all robot sites are displayed.

psadmin enable-robot-sites

Description

Enables a search robot crawling site.

Syntax

Long Format

psadmin enable-robot-sites --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --sites '"Site1" "Site2" "..." "Site-n"'

Short Format

psadmin enable-robot-sites -s search-server-ID -u uid [-f password-filename] -T '"Site1" "Site2" "..." "Site-n"'

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.

[--sites | -T] '"Site1" "Site2" "..." "Site-n"'

Specifies the robot site IDs. Use list-robot-site to find the site ID.

The following option is optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

psadmin disable-robot-sites

Description

Enables a search robot crawling site.

Syntax

Long Format

psadmin disable-robot-sites --searchserver search-server-IDs --adminuser admin-user [--passwordfile password-filename] --sites '"Site1" "Site2" "..." "Site-n"'

Short Format

psadmin disable-robot-sites -s search-server-ID -u uid [-f password-filename] -T '"Site1" "Site2" "..." "Site-n"'

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.

[--sites | -T] '"Site1" "Site2" "..." "Site-n"'

Specifies the robot site IDs. Use list-robot-site to find the site ID.

The following option is optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

psadmin run-robot-simulator

Description

Runs the robot simulator in the search server.

Syntax

Long Format

psadmin run-robot-simulator --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] [--sitename site-name] [--nodns] [--noredirect]

Short Format

psadmin run-robot-simulator -s search-server-ID -u uid [-f password-filename] [-S site-name] [-d] [-r]

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.

The following options are optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

[--sitename | -S] site-name

Specifies the robot site for running robot simulator, for example, www.siroe.com. If this is not specified, the simulator runs against all robot sites that are not a domain .

[--nodns | -d]

Specifies not to check for DNS aliases when running the robot simulator.

[--noredirect | -r]

Specifies not to check for server redirect when running the robot simulator.

psadmin run-robot-siteprobe

Description

Runs the robot simulator in a search server.

Syntax

Long Format

psadmin run-robot-siteprobe --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] [--sitename site-name] [--nodns]

Short Format

psadmin run-robot-siteprobe -s search-server-ID -u uid [-f password-filename] [-S site-name] [-d]

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.

The following option is optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

[--sitename | -S] siteName

Specifies the robot site for running robot simulator. For example, www.siroe.com.

[--nodns | -d]

Specifies not to check for DNS aliases when running the robot simulator.

psadmin run-search-autoclassify

Description

Runs autoclassify in a search server.

Syntax

Long Format

psadmin run-search-autoclassify --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name [--startdate start-date]

Short Format

psadmin run-search-autoclassify -s search-server-ID -u uid [-f password-filename] -d database-name [-D start-date]

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.

[--database | -d] database-name

Specifies the database name against which to run autoclassify.

The following options are optional:

[--passwordfile | -f] password-filename

Specifies the name of the password file.

[--startdate | -D] start-date

Specifies the start date.