Re: FSDIrectory.create doesn't tolerate subdirectories

2003-12-08 Thread Morus Walter
Erik Hatcher writes: On Sunday, December 7, 2003, at 08:21 PM, Esmond Pitt wrote: I'm not clear whether this is a 'yes' or a 'no'. I think other committers would need to weigh in on it. I'm fine with making a change to check isDirectory as well and not deleting them since Lucene

Re: FSDIrectory.create doesn't tolerate subdirectories

2003-12-08 Thread Otis Gospodnetic
: Monday, December 08, 2003 10:47 AM Subject: Re: FSDIrectory.create doesn't tolerate subdirectories On Sunday, December 7, 2003, at 06:17 PM, Esmond Pitt wrote: When creating an index, FSDirectory assumes that the directory has no subdirectories. If a non-empty subdirectory is present

Re: FSDIrectory.create doesn't tolerate subdirectories

2003-12-08 Thread Doug Cutting
[EMAIL PROTECTED] Sent: Monday, December 08, 2003 10:47 AM Subject: Re: FSDIrectory.create doesn't tolerate subdirectories On Sunday, December 7, 2003, at 06:17 PM, Esmond Pitt wrote: When creating an index, FSDirectory assumes that the directory has no subdirectories. If a non-empty

Re: FSDIrectory.create doesn't tolerate subdirectories

2003-12-07 Thread Erik Hatcher
On Sunday, December 7, 2003, at 06:17 PM, Esmond Pitt wrote: When creating an index, FSDirectory assumes that the directory has no subdirectories. If a non-empty subdirectory is present, FSDirectory.create fails to delete it and throws an IOException. As the subdirectory is not a Lucene index

Re: FSDIrectory.create doesn't tolerate subdirectories

2003-12-07 Thread Esmond Pitt
- Original Message - From: Erik Hatcher [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 10:47 AM Subject: Re: FSDIrectory.create doesn't tolerate subdirectories On Sunday, December 7, 2003, at 06:17 PM, Esmond Pitt wrote: When creating an index

Re: FSDIrectory.create doesn't tolerate subdirectories

2003-12-07 Thread Erik Hatcher
On Sunday, December 7, 2003, at 08:21 PM, Esmond Pitt wrote: I'm not clear whether this is a 'yes' or a 'no'. I think other committers would need to weigh in on it. I'm fine with making a change to check isDirectory as well and not deleting them since Lucene (currently) does not work with