Re: How to handle corrupt Lucene index

2022-04-13 Thread Robert Muir
failure is due to the IndexFileDeleter attempting to load > > segments_93 to track referenced commit infos. > > > > Is this a state an IndexWriter could get the directory into, or does it > > involve higher level interference (like copying files around)? > > &g

Re: How to handle corrupt Lucene index

2022-04-13 Thread Tim Whittington
> segments_96 is referencing _8x ... _95 > > > > The IndexWriter failure is due to the IndexFileDeleter attempting to load > > segments_93 to track referenced commit infos. > > > > Is this a state an IndexWriter could get the directory into, or does it > &g

Re: How to handle corrupt Lucene index

2022-04-13 Thread Robert Muir
volve higher level interference (like copying files around)? > > Tim > > On Thu, 14 Apr 2022 at 13:20, Baris Kazar wrote: > > > yes that is a great point to look at first and that would eliminate any > > jdbc related issues that may lead to such problems. > > Best r

Re: How to handle corrupt Lucene index

2022-04-13 Thread Tim Whittington
a great point to look at first and that would eliminate any > jdbc related issues that may lead to such problems. > Best regards > > From: Tim Whittington > Sent: Wednesday, April 13, 2022 9:17:44 PM > To: java-user@lucene.apache.org > Subje

Re: How to handle corrupt Lucene index

2022-04-13 Thread Baris Kazar
yes that is a great point to look at first and that would eliminate any jdbc related issues that may lead to such problems. Best regards From: Tim Whittington Sent: Wednesday, April 13, 2022 9:17:44 PM To: java-user@lucene.apache.org Subject: Re: How to handle

Re: How to handle corrupt Lucene index

2022-04-13 Thread Baris Kazar
That is a good practice and i pointed out that since i saw lucene 7.0 in the stack trace. Best regards From: Tim Whittington Sent: Wednesday, April 13, 2022 9:15 PM To: java-user@lucene.apache.org Subject: Re: How to handle corrupt Lucene index To be clear

Re: How to handle corrupt Lucene index

2022-04-13 Thread Tim Whittington
Thanks for this - I'll have a look at the database server code that is managing the Lucene indexes and see if I can track it down. Tim On Thu, 14 Apr 2022 at 12:41, Robert Muir wrote: > On Wed, Apr 13, 2022 at 8:24 PM Tim Whittington > wrote: > > > > I'm working with/on a database system that

Re: How to handle corrupt Lucene index

2022-04-13 Thread Tim Whittington
> From: Tim Whittington > Sent: Wednesday, April 13, 2022 8:24 PM > To: java-user@lucene.apache.org > Subject: How to handle corrupt Lucene index > > I'm working with/on a database system that uses Lucene for full text > indexes (currently using 7.3.0). > We'

Re: How to handle corrupt Lucene index

2022-04-13 Thread Baris Kazar
? lucene operations are independent of database operations. Best regards From: Tim Whittington Sent: Wednesday, April 13, 2022 8:24 PM To: java-user@lucene.apache.org Subject: How to handle corrupt Lucene index I'm working with/on a database system that

Re: How to handle corrupt Lucene index

2022-04-13 Thread Robert Muir
On Wed, Apr 13, 2022 at 8:24 PM Tim Whittington wrote: > > I'm working with/on a database system that uses Lucene for full text > indexes (currently using 7.3.0). > We're encountering occasional problems that occur after unclean shutdowns > of the database , resulting in > "org.apache.lucene.index

How to handle corrupt Lucene index

2022-04-13 Thread Tim Whittington
I'm working with/on a database system that uses Lucene for full text indexes (currently using 7.3.0). We're encountering occasional problems that occur after unclean shutdowns of the database , resulting in "org.apache.lucene.index.CorruptIndexException: file mismatch" errors when the IndexWriter i