Re: FileNotFoundException on index

2009-12-09 Thread Michael McCandless
OK thanks for bringing closure! Accidentally allowing 2 writers to write to the same index quickly leads to corruption. They are like the Betta fish: they fight to the death, removing each others files, if you put them in the same cage. Mike On Wed, Dec 9, 2009 at 1:56 AM, Max Lynch wrote: > H

Re: FileNotFoundException on index

2009-12-08 Thread Max Lynch
Hi Mike, Missed your response on this, What I was doing was physically removing index/write.lock if older than 8 hours, allowing another process of my indexer to run. I realize in hindsight that there is no reason why I should be doing this and it was really stupid. I think I was under the impre

Re: FileNotFoundException on index

2009-10-09 Thread Michael McCandless
You can use o.a.l.index.CheckIndex to fix the index. It will remove references to any segments that are missing or have problems during testing. First run it without -fix to see what problems there are. Then take a backup of the index. Then run it with -fix. The index will lose all docs in thos

Re: FileNotFoundException on index

2009-10-08 Thread Max Lynch
Missed your response, thanks Bernd. I don't think that's it, since I haven't been executing any commands like that. The only thing I could think of is corruption. I've got the index backed up in case there is a way to fix it (it won't matter in a week or so since I cull any documents older than

Re: FileNotFoundException on index

2009-10-08 Thread Bernd Fondermann
Hi Max just a guess: maybe you deleted all *.c source files in that area and unintentionally deleted this index file, too. Bernd On Fri, Oct 2, 2009 at 17:10, Max Lynch wrote: > I'm getting this error when I try to run my searcher and my indexer: > > Traceback (most recent call last): > self.

FileNotFoundException on index

2009-10-02 Thread Max Lynch
I'm getting this error when I try to run my searcher and my indexer: Traceback (most recent call last): self.searcher = lucene.IndexSearcher(self.directory) JavaError: java.io.FileNotFoundException: /home/spider/misc/index/_275c.cfs (No such file or directory) I don't know anything about the form