lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box
Date Fri, 26 Oct 2007 18:07:51 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538044
] 

Michael McCandless commented on LUCENE-1036:
--------------------------------------------

Are you using one of the IndexWriter.addIndexes* methods to combine indices in the end?

> Unreleased 2.3 version of IndexWriter.optimize()  consistly throws java.lang.IllegalArgumentException
out-of-the-box
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1036
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1036
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3
>         Environment: AIX 5.3 Unix, Java 1.4,  lucene-core-2007-10-26_03-16-46.jar
>            Reporter: R Giles
>
> Since the upcoming 2.3 version of Lucene has support for the setRAMBufferSizeMB() method
in Index Writer,  I thought I would test its performance.   So, using my application that
was built upon (and worked with) Lucene 2.2,  I downloaded the nightly build 2007-10-26_03-16-46
and rebuilt my application with new code setting setRAMBufferSizeMB() from a properties file.
  My test data resides in a database table of 30 columns holding 1.25 million records.   The
good news is that performance is superior to Lucene 2.2.  The indexing completes in roughly
1/3 the time.   The bad news is the Index Writer.optimize() step now throws an java.lang.IllegalArgumentException.
> I also run tests against various other tables.  Indexing smaller amounts of data did
not throw the exception.  Indexing largers amounts of data did throw the exception.  Note,
I also tested nightly builds dating back to 2007-10-05.
> ...
> INFO:  SEIndexThread.commitCheck...
> INFO:    ----Commit point reached:  1200000
> INFO:  SEIndexThread.commitCheck...
> INFO:    ----Commit point reached:  1225000
> INFO:  SEIndexThread.commitCheck...
> INFO:    ----Commit point reached:  1250000
> INFO:  SEIndexThread.closeIndex()...
> INFO:    ----commit point reached:  1250659
> INFO:    ----optimize index
> INFO: SEIndexThread():  java.lang.IllegalArgumentException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message