« Return to Thread: from 2.2.0 to 2.3.0

Re: from 2.2.0 to 2.3.0

by Sergey Kabashnyuk-3 :: Rate this Message:

Reply to Author | View in Thread

stack trace
java.lang.AssertionError
         at  
org.apache.lucene.index.TermInfosWriter.add(TermInfosWriter.java:143)
         at  
org.apache.lucene.index.DocumentsWriter.appendPostings(DocumentsWriter.java:2290)
         at  
org.apache.lucene.index.DocumentsWriter.writeSegment(DocumentsWriter.java:1985)
         at  
org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:539)
         at  
org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:2497)
         at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:2397)
         at  
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1204)
         at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1178)
         at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1153)

Where I can find CheckIndex.tool ?

Sergey Kabashnyuk

>
> Can you provide the full stack trace, and any details of what you were  
> doing when you tripped that assert?
>
> Another thing to try is to run the org.apache.lucene.index.CheckIndex  
> tool (new in 2.3) to check your 2.2 index.  It's possible your 2.2 index  
> has some undetected corruption which this new assert is detecting.
>
> Mike
>
> Sergey Kabashnyuk wrote:
>
>> Hi
>> I want to update  from lucene 2.2.0 to 2.3.0
>> but I have assert it TermInfosWriter line 143.
>>
>> What is it mean
>> assert compareToLastTerm(fieldNumber, termText, termTextStart,
>> termTextLength) < 0 || (isIndex && termTextLength == 0 &&
>> lastTermTextLength == 0);
>>
>> Can you help me?
>>
>> Sergey Kabashnyuk
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@...
>> For additional commands, e-mail: java-user-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@...
> For additional commands, e-mail: java-user-help@...
>



--
Отправлено M2, революционной почтовой программой Opera:  
http://www.opera.com/mail/

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@...
For additional commands, e-mail: java-user-help@...

 « Return to Thread: from 2.2.0 to 2.3.0