Re: java.lang.IllegalArgumentException: Segment is too large

2008-04-01 Thread Michael McCandless
OK, I opened LUCENE-1254 and committed the fix to trunk & (upcoming) 2.3.2. Mike Yonik Seeley wrote: On Mon, Mar 31, 2008 at 5:19 AM, Michael McCandless <[EMAIL PROTECTED]> wrote: I think we should remove those checks and allow addIndexesNoOptimize to import and index even if it has segm

Re: java.lang.IllegalArgumentException: Segment is too large

2008-03-31 Thread Yonik Seeley
On Mon, Mar 31, 2008 at 5:19 AM, Michael McCandless <[EMAIL PROTECTED]> wrote: > I think we should remove those checks and allow addIndexesNoOptimize > to import and index even if it has segments over this limit. I'll > open an issue. +1 -Yonik ---

Re: java.lang.IllegalArgumentException: Segment is too large

2008-03-31 Thread Michael McCandless
nning with this setting for a month without problem all the sudden I'm getting following exception, java.lang.IllegalArgumentException: Segment is too large (11 docs vs max docs 9) at org.apache.lucene.index.LogMergePolicy.findMerg

java.lang.IllegalArgumentException: Segment is too large

2008-03-30 Thread vivek sar
exception, java.lang.IllegalArgumentException: Segment is too large (11 docs vs max docs 9) at org.apache.lucene.index.LogMergePolicy.findMerges(LogMergePolicy.java:274) at org.apache.lucene.index.IndexWriter.updatePendingMerges(IndexWriter.java:1824) at org.apache.lucene.index.IndexWriter.