Oracle® Secure Enterprise Search Administration API Guide 11g Release 2 (11.2.2) Part Number E23428-01 |
|
|
PDF · Mobi · ePub |
Sets one or more properties of all storage areas described in an XML document.
Syntax
updateAll storageArea --INPUT_FILE=xml_filename --UPDATE_METHOD=method [--NOT_FOUND_METHOD=action]
or
updateAll storageArea -n object_name -i xml_filename -a method [-t action]
Parameters
Path to the XML document that configures the object. See storageArea.
Method to use when updating the properties of an object:
overwrite
: Replaces the existing property values with the new values.
Action to take when an object does not exist:
create
: A new object is created from the XML description and processing continues.
error
: The command fails with an error. (Default)
ignore
: The new description is ignored and processing continues
Example
This example creates a storage area and updates the parameter settings of another:
SES> updateAll storageArea --UPDATE_METHOD=remove --NOT_FOUND_METHOD=create --INPUT_FILE=storage.xml
updateAll operation succeeded for type "storageArea".
1 object(s) with status UPDATE_SUCCEEDED
1 object(s) with status NOT_FOUND_CREATED