Skip Headers
Oracle® Secure Enterprise Search Administration API Guide
11g Release 2 (11.2.1)

Part Number E17595-04
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
View PDF

createAll source

Creates all sources described in an XML file.

See Also

create source

Syntax

createAll source --INPUT_FILE=xml_filename [--DUPE_METHOD=action] [--ENCRYPT_KEY=key]

or

createAll source -i xml_filename [-d action] [-e key]

Parameters

xml_filename

Path to the XML document that contains the object descriptions. See source.

action

Action to take when an object already exists:

  • error: The createAll command fails with an error. (Default)

  • ignore: The existing object description is kept.

  • overwrite: The new description replaces the existing object description.

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 creates one source defined in sources.xml. The second source already exists.

SES>createAll source --INPUT_FILE=sources.xml --DUPE_METHOD=ignore --ENCRYPT_KEY=key2encrypt

createAll operation succeeded for type "source".
 
  1 object(s) with status CREATE_SUCCEEDED
  1 object(s) with status DUPLICATE_IGNORED