lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dedian Guo" <gded...@gmail.com>
Subject Re: [jira] Created: (LUCENE-603) index optimize problem
Date Fri, 16 Jun 2006 18:18:32 GMT
ok, let me try with some dummy documents...

On 6/16/06, Grant Ingersoll <gsingers@syr.edu> wrote:
>
> Hi Dedian,
>
> Can you write a self-contained test case that reproduces the problem?
>
> Thanks,
> Grant
>
> Dedian Guo (JIRA) wrote:
> > index optimize problem
> > ----------------------
> >
> >          Key: LUCENE-603
> >          URL: http://issues.apache.org/jira/browse/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(
> 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)
> >
> >
>
> --
>
> Grant Ingersoll
> Sr. Software Engineer
> Center for Natural Language Processing
> Syracuse University
> School of Information Studies
> 335 Hinds Hall
> Syracuse, NY 13244
>
> http://www.cnlp.org
> Voice:  315-443-5484
> Fax: 315-443-6886
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message