Oracle® Secure Enterprise Search Administration API Guide 11g Release 1 (11.1.2.2) Part Number E21606-01 |
|
|
PDF · Mobi · ePub |
Returns the current state of a list of objects of the same type.
getState clusterTree getAllStates clusterTree
getStateList clusterTree --KEYS_FILE=key_filename [--OUTPUT_FILE=output_file]
or
getStateList clusterTree -k key_filename [-o output_file]
Path to a text file that identifies the objects. Each line of the file contains an object key. For example:
--NAME="Topic Tree"
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 getStateList
command creates a separate file for each one and appends the host name and port number to the base name.
This example displays the last crawl and next crawl dates for the schedules listed in clustertrees.lst:
SES>getStateList clusterTree --KEYS_FILE=clustertrees.lst
<?xml version="1.0" encoding="UTF-8"?>
<search:state productVersion="11.1.2.2.0" xmlns:search="http://xmlns.oracle.com/search">
<search:objectStates>
<search:objectState>
<search:objectType>clusterTree</search:objectType>
<search:objectKey>
<search:keyPairs>
<search:keyPair>
<search:name>name</search:name>
<search:value>Topic Tree</search:value>
</search:keyPair>
</search:keyPairs>
</search:objectKey>
<search:stateProperties>
<search:stateProperty>
<search:propertyName>status</search:propertyName>
<search:propertyValues>
<search:propertyValue>
<search:value>ACTIVE</search:value>
</search:propertyValue>
</search:propertyValues>
</search:stateProperty>
</search:stateProperties>
</search:objectState>
</search:objectStates>
</search:state>