: > How do I find out the status of a slave's index?  I have the following
: > scenario:

FYI: regardless of where your index comes from (java replication, script 
replication, manual mucking, etc...) the stats page of any solr core will 
tell you the index version number in use by the current searcher which 
always increases as an index is modified over time.

the replication handler might tell you that the slave is currently 
replicating, but maybe it's already finished replicating the version you 
care about, and has moved on to replicating an even newer version?  or 
maybe replciation has finished, but auto-warming is stll taking place (i'm 
not sure what the replication handler status says in that case)

checking the info page on your master, remembering the version number, and 
then checking the info page on the slaves will always tell you if hte 
slave is currently searching an index version equal to or greater then 
when you last checked the master...

http://localhost:8983/solr/admin/stats.jsp
    ...
    <entry>
      <name>
        searcher
      </name>
        ...
        <stat name="indexVersion" >
          1200621623713
        </stat>


-Hoss

Reply via email to