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

updateAll sourceGroup

Sets one or more parameters for all source groups from an XML description.

See Also

update sourceGroup

Syntax

updateAll sourceGroup --INPUT_FILE=xml_filename --UPDATE_METHOD=method [--NOT_FOUND_METHOD=action]

or

updateAll sourceGroup -i xml_filename -a method [-t action]

Parameters

xml_filename

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

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.

action

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 updates two source groups:

SES>updateAll sourceGroup --UPDATE_METHOD=add --NOT_FOUND_METHOD=ignore --INPUT_FILE=sourcegroups_update.xml
 
updateAll operation succeeded for type "sourceGroup".
 
  2 object(s) with status UPDATE_SUCCEEDED
  2 object(s) with status NOT_FOUND_IGNORED