Oracle® Secure Enterprise Search Administration API Guide 11g Release 2 (11.2.2) Part Number E23428-01 |
|
|
PDF · Mobi · ePub |
Changes the properties of a source from an XML file.
See Also
updateAll source
Syntax
update source --NAME=object_name --INPUT_FILE=xml_filename --UPDATE_METHOD=method [--ENCRYPT_KEY=key]
or
update source -n object_name -i xml_filename -a method [-e key]
Parameters
Content of a <search:name>
element in the XML document.
Path to the XML document that configures the object. See source.
Method to use when updating the properties of an object:
add
: Adds new properties and overwrites existing properties, but does not delete existing properties that are omitted in the XML file.
remove
: Removes existing properties that are defined in the XML file.
overwrite
: Replaces the existing property values with the new values.
Encryption key for passwords in xml_filename
. The key must be at least eight ASCII characters long and include at least one letter and one number. Multibyte characters are invalid. If you omit this option, you are prompted for the key.
Example
This example updates the Doc Library source with the changes in sources.xml:
SES>update source --NAME="Doc Library" --UPDATE_METHOD=overwrite --INPUT_FILE=sources.xml --ENCRYPT_KEY=key2encrypt
The object "[name=Doc Library]" was successfully updated.