Oracle® Secure Enterprise Search Administration API Guide 11g Release 2 (11.2.2) Part Number E23428-01 |
|
|
PDF · Mobi · ePub |
Creates all custom search attributes described in an XML file.
See Also
create searchAttr
Syntax
createAll searchAttr --INPUT_FILE=xml_filename [--DUPE_METHOD=action]
or
createAll searchAttr -i xml_filename [-d action]
Parameters
Path to the XML document that contains the object descriptions. See searchAttr.
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 three objects described in searchattrx.xml. A fourth object already exists.
SES>createAll searchAttr --INPUT_FILE=searchattrs.xml --DUPE_METHOD=ignore
createAll operation succeeded for type "searchAttr".
3 object(s) with status CREATE_SUCCEEDED
1 object(s) with status DUPLICATE_IGNORED