Skip Headers
Oracle® Secure Enterprise Search Administration API Guide
11g Release 1 (11.1.2.0.0)

E14133-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

update source

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

object_name

Content of a <search:name> element in the XML document.

xml_filename

Path to the XML document that configures the object. See source.

method

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.

key

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.