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

createAll altWord

Creates all alternate words described in an XML file.

See Also

create altWord

Syntax

createAll altWord --INPUT_FILE=xml_filename [--DUPE_METHOD=action]

or

createAll altWord -i xml_filename [-d action]

Parameters

xml_filename

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

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.

Example

This example creates the three altWord objects defined in altwords.xml.

SES>createAll altWord --INPUT_FILE=altwords.xml

createAll operation succeeded for type "altWord".
 
  3 object(s) with status CREATE_SUCCEEDED
 

The next example shows use of the --DUPE_METHOD option:

SES>createAll altWord --INPUT_FILE=altwords.xml

The object with key "[keyword=text, altKeyword=Oracle Text]" and type "altWord"already exists.
 
SES>createAll altWord --INPUT_FILE=altwords.xml --DUPE_METHOD=overwrite
 
createAll operation succeeded for type "altWord".
 
  2 object(s) with status CREATE_SUCCEEDED
  1 object(s) with status DUPLICATE_OVERWRITTEN