Re: IOException and index corruption

2006-10-12 Thread Apache Lucene
m); ? On 10/12/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: On Oct 12, 2006, at 10:17 AM, Apache Lucene wrote: > When I am adding a document to the lucene index if the method > throws an > IOException and if I continue with adding other documents ignoring the > exception, will

IOException and index corruption

2006-10-12 Thread Apache Lucene
When I am adding a document to the lucene index if the method throws an IOException and if I continue with adding other documents ignoring the exception, will the index be corrupted? What happens to the fields which are already written to the index?

Re: indexing problems

2006-03-07 Thread Apache Lucene
BTW, I could access that index using Luke. It works fine. On 3/7/06, Apache Lucene <[EMAIL PROTECTED]> wrote: > > This line is throwing a null pointer exception for the index I created as > I mentioned in my previous emails. > > searcher = new IndexSearcher(Index

Re: indexing problems

2006-03-07 Thread Apache Lucene
wrote: > > > On Mar 7, 2006, at 10:41 AM, Apache Lucene wrote: > > > Is it advisable to use compound file format? or should I revert it > > back to > > simple file format? How do I revert it back? > > There is a setter on IndexWriter to set it back if you like.

Re: indexing problems

2006-03-07 Thread Apache Lucene
le contains all those individual parts. > > -Yonik > > On 3/7/06, Apache Lucene <[EMAIL PROTECTED]> wrote: > > Hi, > >I am using Lucene 1.9.1 to index the files. The index writer > created > > the following files > > (1) segment file "segmen

indexing problems

2006-03-07 Thread Apache Lucene
Hi, I am using Lucene 1.9.1 to index the files. The index writer created the following files (1) segment file "segments" (2) deletable file "deletable" (3) compound file "cfs" None of the other files like term info, frequency..etc were created. Is there something obvious, I am doing wrong?