This chapter describes the following subcommands:
Analyzes a database for a search server.
psadmin analyze-search-database --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name [--refresh]
psadmin analyze-search-db -s search-server-ID -u uid [-f password-filename] -d database-name [-r]
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Specifies the name of the password file.
Refreshes the analysis cache.
Creates a search database.
psadmin create-search-database --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name [--attributes] '"key1=value1" "key2=value2" ...'
psadmin create-search-db -s search-server-ID -u uid [-f password-filename] -d database-name [-A] '"key1=value1" "key2=value2" ...'
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Specifies the name of the password file.
Specifies a list of attributes for the database.
Expires a database for a search server.
psadmin expire-search-database --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name
psadmin expire-search-db -s search-server-ID -u uid [-f password-filename] -d database-name
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
The following option is optional:
Specifies the name of the password file.
Lists all databases of a search server.
psadmin list-search-databases --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename]
psadmin list-search-dbs -s search-server-ID -u uid [-f password-filename]
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
The following option is optional:
Specifies the name of the password file.
Purges the database for a search server.
psadmin purge-search-database --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name
psadmin purge-search-db -s search-server-ID -u uid [-f password-filename] -d database-name
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
The following option is optional:
Specifies the name of the password file.
Reindexes a database for a search server.
psadmin reindex-search-database --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name
psadmin reindex-search-db -s search-server-ID -u uid [-f password-filename] -d database-name
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
The following option is optional:
Specifies the name of the password file.
Displays a search database attribute.
psadmin get-search-database-attribute --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name --attribute attribute-name
psadmin get-search-db-attribute -s search-server-ID -u uid [-f password-filename] -d database-name -a attribute-name
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
Specifies the attribute name.
The following option is optional:
Specifies the name of the password file.
Lists a database's attributes.
psadmin list-search-database-attributes --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name
psadmin list-search-db-attributes -s search-server-ID -u uid [-f password-filename] -d database-name
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
The following option is optional:
Specifies the name of the password file.
Lists the attributes for a database.
psadmin set-search-database-attribute --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --database database-name --attribute attribute-name --value attribute-value
psadmin set-search-db-attribute -s search-server-ID -u uid [-f password-filename] -d database-name -a attribute-name -e attribute-value
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the database.
Specifies the attribute name.
Specifies the attribute value.
The following option is optional:
Specifies the name of the password file.