lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Stead" <gst...@ieee.org>
Subject RE: Time after snapshot is "visible" on the slave
Date Tue, 06 Mar 2007 18:40:21 GMT
I forgot to mention that the admin page (solr/admin/stats.jsp) is an
excellent way to see when the last searcher was opened. After running
commit, you should see update to the openedAt and registeredAt timestamps,
e.g.,:

openedAt : Tue Mar 06 08:14:19 PST 2007
registeredAt : Tue Mar 06 08:15:55 PST 2007 

If you have added documents, you'll numDocs and/or maxDoc change as well.

If you don't see these update then something isn't right. If you see them
update but cannot find your documents in the index, then your indexing
process may not be working correctly.

Hope this helps,
-Graham

PS: If you are running replication with multiple solr instances, your
problem may be caused by a simple bug in the commit, optimize, and
readercycle scripts. Replace the /solr/ in the curl statement with
${webapp_name}:

From:
rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d "<commit/>"`

To:
rs=`curl http://${solr_hostname}:${solr_port}/${webapp_name}/update -s -d
"<commit/>"`

I haven't had time to commit these bug fixes yet.



Mime
View raw message