index out of disk space, CorruptIndexException

2008-01-14 Thread Brian Whitman
We had an index run out of disk space. Queries work fine but commits  
return


h1500 doc counts differ for segment _18lu: fieldsReader shows 104  
but segmentInfo shows 212


org.apache.lucene.index.CorruptIndexException: doc counts differ for  
segment _18lu: fieldsReader shows 104 but segmentInfo shows 212
	at  
org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:191)


I've made room, restarted resin, and now solr won't start. No useful  
messages in the startup, just a


[21:01:49.105] Could not start SOLR. Check solr/home property
[21:01:49.105] java.lang.NullPointerException
[21:01:49.105]  at  
org 
.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java: 
100)


What can I do from here?







Re: index out of disk space, CorruptIndexException

2008-01-14 Thread Brian Whitman


On Jan 14, 2008, at 4:08 PM, Ryan McKinley wrote:

ug -- maybe someone else has better ideas, but you can try:
http://svn.apache.org/repos/asf/lucene/java/trunk/src/java/org/apache/lucene/index/CheckIndex.java


thanks for the tip, i did run that, but I stopped it 30 minutes in, as  
it was still on the first (out of 46) segment.. The index is (was)  
129GB.

I just restored to an older index and made this ticket, 
https://issues.apache.org/jira/browse/SOLR-455