Name | Synopsis | Description | Options | Examples | Exit Status | See Also
enable-search-event <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] [--pattern|-P pattern] ((--time|-t hh:mm] [--month|-m 1-12] [--day-of-week|-k sun/mon/tue/wed/thu/fri/sat] [--day-of-month|-d 1-31])|--interval|-r 60-86400(seconds)) --config|-c config-name --vs|-s vs-name --collection|-O name --command|-C add-documents|reindex
Use this command to enable a search event.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the wild card pattern of the documents that have to be added.
Specify a time when this search event is scheduled.
Specify the day of the month when this search event is scheduled. The range of values is 1–31.
Specify the day of the week when this search event is scheduled. The values can be Sun, Mon, Tue, Wed, Thu, Fri or Sat.
Specify the time interval, in seconds, at which this search event will occur. The range of values is 60–86400.
Specify the month when this search event is scheduled. The range of values is 1 to 12.
Specify the task the search event executes. The value can be add-documents or reindex.
Specify the name of the configuration for which you want to enable the search event.
Specify the name of the virtual server.
Specify the name of the collection.
wadm enable-search-event --user=admin --host=serverhost --password-file=../admin.passwd --port=8989 --ssl=true --no-prompt --rcfile=null --time=20:30 --month=11 --day-of-week=mon --day-of-month=15 --interval=3600 --config=config1 --collection=collection1 --command=reindex --vs=vs1 |
The following exit values are returned:
command executed successfully
error in executing the command
help(1), create-search-event(1), delete-search-event(1), list-search-events(1), disable-search-event(1)
Name | Synopsis | Description | Options | Examples | Exit Status | See Also