You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Naber (JIRA)" <ji...@apache.org> on 2006/07/30 15:47:14 UTC

[jira] Commented: (LUCENE-603) index optimize problem

    [ http://issues.apache.org/jira/browse/LUCENE-603?page=comments#action_12424388 ] 
            
Daniel Naber commented on LUCENE-603:
-------------------------------------

Is there any chance you could provide a test case that demonstrates this problem?

> index optimize problem
> ----------------------
>
>                 Key: LUCENE-603
>                 URL: http://issues.apache.org/jira/browse/LUCENE-603
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects 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(SegmentMerger.java:335)
> 	at org.apache.lucene.index.SegmentMerger.mergeTermInfo(SegmentMerger.java:298)
> 	at org.apache.lucene.index.SegmentMerger.mergeTermInfos(SegmentMerger.java:272)
> 	at org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:236)
> 	at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:89)
> 	at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:681)
> 	at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:658)
> 	at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:517)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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