Re: Putting some constraints on index optimization

2006-10-29 Thread Stanislav Jordanov
Hi Mike, By optimizing (in this particular case) I seek to minimize the disk space used by the index files. My index is incremental - docs get added and deleted on the fly. There is also a user defined constraint of total index size (in terms of disk space). There is another user defined const

Re: Putting some constraints on index optimization

2006-10-27 Thread Mike Klaas
On 10/27/06, Stanislav Jordanov <[EMAIL PROTECTED]> wrote: Have the following problem with (explicitly invoked) index optimization - it seems to always merge all existing index segments into a single huge segment, which is undesirable in my case. Is there a way to force index optimization to hono

Putting some constraints on index optimization

2006-10-27 Thread Stanislav Jordanov
[Note: I am reposting this question, as I posted it yesterday and yet it hasn't appear on the mail list] Have the following problem with (explicitly invoked) index optimization - it seems to always merge all existing index segments into a single huge segment, which is undesirable in my case. Is

Putting some constraints on index optimization

2006-10-26 Thread Stanislav Jordanov
Have the following problem with (explicitly invoked) index optimization - it seems to always merge all existing index segments into a single huge segment, which is undesirable in my case. Is there a way to force index optimization to honor the IndexWriter.MAX_MERGE_DOCS setting? Stanislav --