When I use lucene for index appear some errors like following: caught a class java.io.IOException with message: Cannot rename
E:indexdocsegments.new to E:indexdocsegments
I check some infomations by google.but there is not aways for
solve this problem.who can help me?thanks!
今天再仔细看了下,想了下,问题终于有点眉目,原来真的是windos xp
下java虚拟机的问题,数据量才10万条不到,我一同学告诉我说:在linux下100万条都没有出问题。我的下期解决方案就是:采用ant处理这类问题的方法,当异常发生时,线程休眠等待,catch执行重命名。