On Wed, Oct 23, 2013 at 10:33 AM, Chris <christu...@gmail.com> wrote:
> I am not exactly sure if the commit() was run, as i am inserting each row &
> doing a commit right away. My solr will not load the index....

I'm confused: if you are doing a commit right away after every row
(which is REALLY bad practice: that's incredibly slow and
unnecessary), then surely you've had many commits succeed?

> is there anyway that i can fix this, I have a huge index & will loose
> months if i try to reindex :( I didnt know lucene was not stable, I thought
> it was

Sorry, but no.

In theory ... a tool could be created that would try to "reconstitute"
a segments file by looking at all the various files that exist, but
this is not in general easy (and may not be possible): the segments
file has very important metadata, like which codec was used to write
each segment, etc.

Did it really take months to do this indexing?  That is really way too
long; how many documents?

Lucene (Solr) is stable, i.e. a successful commit should ensure your
index survives power loss.  If somehow that was not the case here,
then we need to figure out why and fix it ...

Mike McCandless

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to