You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Nasima Banu <na...@position2.com> on 2012/02/20 14:19:53 UTC

How to check for inactive cores in a solr multicore setup?

Hello,

I am trying to figure out a way to detect inactive cores in a multicore setup.
How is that possible?
I queried the STATUS of a core through the CoreAdminHandler. Could anyone please tell me what the 'current' field means??

Eg : http://localhost:8080/solr/admin/cores?action=STATUS&core=2

Response ::

<lst name="2"><str name="name">2</str><str name="instanceDir">multicore/solr/2/</str><str name="dataDir">multicore/solr/2/data/</str><date name="startTime">2012-02-17T06:19:20.805Z</date><long name="uptime">279811925</long><lst name="index"><int name="numDocs">72373</int><int name="maxDoc">81487</int><long name="version">1328696930153</long><int name="segmentCount">12</int><bool name="current">true</bool><bool name="hasDeletions">true</bool><str name="directory">org.apache.lucene.store.MMapDirectory:org.apache.lucene.store.MMapDirectory@multicore/solr/2/data/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@4cd0b9d7</str><date name="lastModified">2012-02-20T12:02:12Z</date></lst></lst>



Please help.

Thanks,
Nasima