Oracle® Secure Enterprise Search Administration API Guide 11g Release 1 (11.1.2.2) Part Number E21606-01 |
|
|
PDF · Mobi · ePub |
Updates all search attributes from the descriptions in an XML file. You can add LOVs to the default search attributes.
update searchAttr
updateAll searchAttr --INPUT_FILE=xml_filename --UPDATE_METHOD=method [--NOT_FOUND_METHOD=action]
or
updateAll searchAttr -i xml_filename -a method [-e key] [-t action]
Path to the XML document that configures the object. See searchAttr.
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 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
This example updates a search attribute using the description in searchattrs_update.xml:
SES>updateAll searchAttr --UPDATE_METHOD=add --NOT_FOUND_METHOD=create --INPUT_FILE=searchattrs_update.xml
updateAll operation succeeded for type "searchAttr".
1 object(s) with status UPDATE_SUCCEEDED