This chapter discusses the following search subcommands:
Analyzes a database for a search server.
psadmin analyze-search-database --searchserver search-server-ID --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose] [--refresh]
psadmin analyze-search-database -s search-server-ID -u uid -f password-filename -r database-name [--debug] [--output output-filename] [-v] [--refresh]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Refreshes the analysis cache.
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Creates a search database.
psadmin create-search-database --searchserver search-server-ID --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose] [--attributes] '"key1=value1" "key2=value2" ...'
psadmin create-search-database -s search-server-ID -u uid -f password-filename -r database-name [--debug] [--output output-filename] [-v] [--attributes] '"key1=value1" "key2=value2" ...'
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Specifies a list of attributes for the database.
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Expires a database for a search server.
psadmin expire-search-database --searchserver search-server-ID --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose]
psadmin expire-search-db -s search-server-ID -u uid -f password-filename -r database-name [--debug] [--output output-filename] [-v]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Lists all databases of a search server.
psadmin list-search-databases --searchserver search-server-ID --adminuser uid --passwordfile password-filename [--debug] [--output output-filename] [--verbose]
psadmin list-search-dbs -s search-server-ID -u uid -f password-filename [--debug] [--output output-filename] [-v]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
The following options are optional:
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Purges the database for a search server.
psadmin purge-search-database --searchserver search-server-ID --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose]
psadmin purge-search-db -s search-server-ID -u uid -f password-filename -r database-name [--debug] [--output output-filename] [-v]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Reindexes a database for a search server.
psadmin reindex-search-database --searchserver search-server-ID --adminuser uid --passwordfile password-filename -database database-name [--debug] [--output output-filename] [--verbose]
psadmin reindex-search-db -s search-server-ID -u uid -f password-filename -r database-name [--debug] [--output output-filename] [-v]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Displays a search database attribute.
psadmin get-search-database-attribute --searchserver search-server-ID --adminuser uid --passwordfile password-filename --database database-name --attribute key [--debug] [--output output-filename] [--verbose]
psadmin get-search-db-attribute -s search-server-ID -u uid -f password-filename -r database-name --attribute key [--debug] [--output output-filename] [-v]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
Specifies the attribute name.
The following options are optional:
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Lists a database's attributes.
psadmin list-search-database-attributes --searchserver search-server-ID --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose]
psadmin list-search-db-attributes -s search-server-ID -u uid -f password-filename -r database-name [--debug] [--output output-filename] [-v]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
The following options are optional:
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Lists the attributes for a database.
psadmin set-search-database-attribute --searchserver search-server-ID --adminuser uid --passwordfile password-filename --database database-name --attribute key --value value [--debug] [--output output-filename] [--verbose]
psadmin set-search-db-attribute -s search-server-ID -u uid -f password-filename -r database-name --attribute key --value value [--debug] [--output output-filename] [-v]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
Specifies the search server ID.
Specifies the database.
Specifies the attribute name.
Specifies the attribute value.
The following options are optional:
Specifies if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.