Oracle® Secure Enterprise Search Administration API Guide 11g Release 2 (11.2.2) Part Number E23428-01 |
|
|
PDF · Mobi · ePub |
Returns the XML descriptions of all objects of a specific type.
See Also
export creatable_type exportList creatable_type
Syntax
exportAll creatable_type [key_pattern] [--OUTPUT_FILE=output_file] [--ENCRYPT_KEY=key]
or
exportAll creatable_type [key_pattern] [-o output_file] [-e key]
Parameters
One of these creatable object types:
altWord docServiceInstance docServiceManager docServicePipeline identityPlugin proxyLogin schedule searchAttr source sourceGroup sourceType storageArea suggLink
The name of a file in which the exported XML document is stored. You can specify a simple file name, a relative path, or a fully qualified path. When executing on multiple instances, the export
command creates a separate file for each one and appends the host name and port number to the base name.
An object key that specifies a subset of objects to process in the format key=value
. The value can include wildcard characters:
A percent sign (%
) matches zero or more characters. In a multibyte character set, it matches zero or more bytes.
An underscore (_
) matches one character. In a multibyte character set, it matches one byte.
The encryption key for passwords in the XML description of identityPlugin
, proxyLogin
, and source
objects. 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 displays all suggested links:
SES>exportAll suggLink
<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion="11.2.1.0.0" xmlns:search="http://xmlns.oracle.com/search">
<search:suggLinks>
<search:suggLink>
<search:keyword>database</search:keyword>
<search:linkUrl>
http://www.oracle.com/technetwork/database/enterprise-edition/overview/index.html
</search:linkUrl>
<search:linkText>Oracle 11g</search:linkText>
</search:suggLink>
<search:suggLink>
<search:keyword>oracle</search:keyword>
<search:linkUrl>http://www.oracle.com</search:linkUrl>
<search:linkText>Oracle</search:linkText>
</search:suggLink>
<search:suggLink>
<search:keyword>ses</search:keyword>
<search:linkUrl>
http://www.oracle.com/technetwork/search/oses/overview/index.htm
</search:linkUrl>
<search:linkText>Oracle SES</search:linkText>
</search:suggLink>
</search:suggLinks>
</search:config>
The next example uses a key pattern to find the suggested link for Oracle.
SES>exportAll suggLink --KEYWORD=ora%
<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion="11.2.1.0.0" xmlns:search="http://xmlns.oracle.com/search">
<search:suggLinks>
<search:suggLink>
<search:keyword>oracle</search:keyword>
<search:linkUrl>http://www.oracle.com</search:linkUrl>
<search:linkText>Oracle</search:linkText>
</search:suggLink>
</search:suggLinks>
</search:config>