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

Part Number E21606-01
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 sourceType

Changes the properties of a source type from an XML file.

See Also

updateAll sourceType

Syntax

update sourceType --NAME=object_name --INPUT_FILE=xml_filename --UPDATE_METHOD=method

or

update sourceType -n object_name -i xml_filename -a method

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 sourceType .

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.

Example

This example updates the definition of the EMC Documentum Content Server source type:

SES>update sourceType --NAME="EMC Documentum Content Server" --UPDATE_METHOD=overwrite --INPUT_FILE=sourcetypes.xml
 
The object "[name=EMC Documentum Content Server]" was successfully updated.