This chapter describes the following subcommands:
Lists the resource descriptions from a search server.
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]
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]
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies the type of search. The values are all, uncategorized, categorized, by_category, by_url, by_query.
Specifies the name of the database.
The following options are optional:
Specifies the name of the password file.
Specifies the query for by_category, by_url andby_query search types.
Displays the list of view attributes. To pass a list of strings, use the format '” string1” “string2” “...” “stringN”'.
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.
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.
Creates a resource description in a search server.
psadmin create-search-resourcedescription --searchserver search-server-ID --file SOIF-filename --adminuser admin-user [--passwordfile password-filename] --database database-name
psadmin create-search-rd -s search-server-ID -F SOIF-filename -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 path and name of the SOIF file.
Specifies the database.
The following option is optional:
Specifies the name of the password file.
Deletes resource descriptions from a search server.
psadmin delete-search-resourcedescriptions --searchserver search-server-ID --adminuser admin-user [--passwordfile password-filename] --urls '"URL1" "URL2" "..." "URLN"' --database database-name
psadmin delete-search-rds -s search-server-ID -u uid [-f password-filename] -R '"URL1" "URL2" "..." "URLN"' -d database-name
The following options are required:
Specifies the Administrator's ID.
Specifies the search server ID.
Specifies a list of URLs. To pass a list of strings, use the format '” string1” “string2” “...” “stringN”'.
Specifies the database.
The following option is optional:
Specifies the name of the password file.
Modifies a resource description in a search server.
psadmin modify-search-resourcedescription --searchserver search-server-ID --file SOIF-filename --adminuser admin-user [--passwordfile password-filename] --database database-name
psadmin modify-search-rd -s search-server-ID -F SOIF-filename -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 path and name of the SOIF file.
Specifies the database.
The following option is optional:
Specifies the name of the password file.