Creates a resource description in a search server.
psadmin create-search-resourcedescription --searchserver search-server-ID --file SOIF-filename --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose]
psadmin create-search-rd --s search-server-ID --file SOIF-filename -u uid -f password-filename --database 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 path and name of the SOIF file.
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.
Deletes resource descriptions from a search server.
psadmin delete-search-resourcedescription --searchserver search-server-ID --adminuser uid --passwordfile password-filename --urls '"URL1" "URL2" "..." "URLN"' --database database-name [--debug] [--output output-filename] [--verbose]
psadmin delete-search-rd -s search-server-ID -u uid -f password-filename --urls '"URL1" "URL2" "..." "URLN"' --database 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 a list of URLs. To pass a list of strings, use the format '” string1” “string2” “...” “stringN”'.
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.
Modifies a resource description in a search server.
psadmin modify-search-resourcedescription --searchserver search-server-ID --file SOIF-filename --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose]
psadmin modify-search-rd -s search-server-ID --file SOIF-filename -u uid -f password-filename --database 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 path and name of the SOIF file.
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 resource descriptions from a search server.
psadmin list-search-resourcedescriptions --searchserver search-server-ID --searchtype search-type --adminuser uid --passwordfile password-filename --database database-name [--debug] [--output output-filename] [--verbose] [--query query] [--viewattributes '"view1" "view2" "..." "viewN"'] [--startpage start-page] [--hitsperpage hits-per-page]
psadmin list-search-rds -s search-server-ID --searchtype search-type -u uid -f password-filename --database database-name [--debug] [--output output-filename] [-v] [--query query] [--viewattributes '"view1" "view2" "..." "viewN"'] [--startpage start-page] [--hitsperpage hits-per-page]
The following options are required:
Specifies the Administrator's ID.
Specifies the name of the password file.
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 if debug mode is turned on.
Specifies if the output mode is used.
Specifies if the verbose mode is used.
Specifies the search query. The values are by_category, by_url andby_query.
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.