Re: index conversion

2007-09-24 Thread Grant Ingersoll
On Sep 24, 2007, at 9:54 AM, Bogdan Ghidireac wrote: On 9/24/07, Doron Cohen <[EMAIL PROTECTED]> wrote: For an already optimized index calling optimize() is a no-op. You may try this: after opening the writer and setting compound=false, add a dummy (even empty) document to the index, then

Re: index conversion

2007-09-24 Thread Bogdan Ghidireac
On 9/24/07, Doron Cohen <[EMAIL PROTECTED]> wrote: > > For an already optimized index calling optimize() is a no-op. > > You may try this: after opening the writer and setting compound=false, add > a dummy (even empty) document to the index, then optimize(), and finally > optionally remove the dumm

Re: index conversion

2007-09-24 Thread Doron Cohen
For an already optimized index calling optimize() is a no-op. You may try this: after opening the writer and setting compound=false, add a dummy (even empty) document to the index, then optimize(), and finally optionally remove the dummy document. Note that calling optimize() might be lengthy as