11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

last update operation successfully processed is provided. The timestamp of the update operation is the original<br />

timestamp, i.e., the time this operation was processed on the Source <strong>Solr</strong>Cloud. This allows an estimate the<br />

latency of the replication process.<br />

The “queues” object also contains information about the updates log, such as the size (in bytes) of the updates<br />

log on disk (“tlogTotalSize”), the number of transaction log files (“tlogTotalCount”) and the status of the updates<br />

log synchronizer (“updateLogSynchronizer”).<br />

Examples<br />

Input<br />

http://localhost:8983/solr/core/cdcr?action=QUEUES<br />

Output<br />

{<br />

}<br />

responseHeader={<br />

status=0,<br />

QTime=1<br />

},<br />

queues={<br />

127.0.0.1: 40342/solr={<br />

Target_collection={<br />

queueSize=104,<br />

lastTimestamp=2014-12-02T10: 32: 15.879Z<br />

}<br />

}<br />

},<br />

tlogTotalSize=3817,<br />

tlogTotalCount=1,<br />

updateLogSynchronizer=stopped<br />

/core/cdcr?action=OPS<br />

Input<br />

Query Parameters: There are no parameters for this command.<br />

Output<br />

Output Content: The output is composed of a list “operationsPerSecond” which contains a list of (ZooKeeper)<br />

Target hosts, themselves containing a list of Target collections. For each collection, the average number of<br />

processed operations per second since the start of the replication process is provided. The operations are further<br />

broken down into two groups: add and delete operations.<br />

Examples<br />

Input<br />

http://localhost:8983/solr/collection/cdcr?action=OPS<br />

Output<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

620

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!