11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

0<br />

13<br />

<br />

{!lucene}*:*<br />

false<br />

_text_<br />

10<br />

all<br />

<br />

<br />

OK<br />

<br />

Both API calls have the same output. A status=OK indicates that the nodes are responding.<br />

<strong>Solr</strong>J Example<br />

<strong>Solr</strong>Ping ping = new <strong>Solr</strong>Ping();<br />

ping.getParams().add("distrib", "true"); //To make it a distributed request against<br />

a collection<br />

rsp = ping.process(solrClient, collectionName);<br />

int status = rsp.getStatus();<br />

Plugins & Stats Screen<br />

The Plugins screen shows information and statistics about the status and performance of various plugins running<br />

in each <strong>Solr</strong> core. You can find information about the performance of the <strong>Solr</strong> caches, the state of <strong>Solr</strong>'s<br />

searchers, and the configuration of Request Handlers and Search Components.<br />

Choose an area of interest on the right, and then drill down into more specifics by clicking on one of the names<br />

that appear in the central part of the window. In this example, we've chosen to look at the Searcher stats, from<br />

the Core area:<br />

Searcher Statistics<br />

The display is a snapshot taken when the page is loaded. You can get updated status by choosing to either Wat<br />

ch Changes or Refresh Values.<br />

Watching the changes will highlight those areas that have changed, while<br />

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

45

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

Saved successfully!

Ooh no, something went wrong!