lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dedian Guo (JIRA)" <>
Subject [jira] Created: (LUCENE-603) index optimize problem
Date Fri, 16 Jun 2006 17:57:29 GMT
index optimize problem

         Key: LUCENE-603
     Project: Lucene - Java
        Type: Bug

  Components: Index  
    Versions: 1.9    
 Environment: CentOS 4.0 , Lucene 1.9, Eclipse 3.1
    Reporter: Dedian Guo

have a function whichi is loop to index batches of documents, after each indexing, the function
IndexWriter.optimize will be applied. for several times (not sure how many, but should be
many), following exception was thrown out.

Exception in thread "Thread-0" java.lang.IllegalStateException: docs out of order
	at org.apache.lucene.index.SegmentMerger.appendPostings(
	at org.apache.lucene.index.SegmentMerger.mergeTermInfo(
	at org.apache.lucene.index.SegmentMerger.mergeTermInfos(
	at org.apache.lucene.index.SegmentMerger.mergeTerms(
	at org.apache.lucene.index.SegmentMerger.merge(
	at org.apache.lucene.index.IndexWriter.mergeSegments(
	at org.apache.lucene.index.IndexWriter.mergeSegments(
	at org.apache.lucene.index.IndexWriter.optimize(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message