You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Randeep Singh <ra...@ri3k.com> on 2009/09/08 11:40:15 UTC

jcr org.apache.lucene.index.CorruptIndexException: Unknown format version: -7

Hi All,

 

I am trying to export JCR Repository using session.exportSystemView api
and when I import it back I get this error

 

org.apache.lucene.index.CorruptIndexException: Unknown format version:
-7

        at
org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:211)

        at
org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexRead
er.java:68)

        at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.j
ava:636)

        at
org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.j
ava:63)

        at
org.apache.lucene.index.IndexReader.open(IndexReader.java:209)

        at
org.apache.lucene.index.IndexReader.open(IndexReader.java:192)

 

Please help me to resolve this issue.

 

Thanks & Regards

Randeep Singh

 

 

 

 

 


________________________________________________________________________
This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. 

Although RI3K believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and RI3K does not accept any responsibility for any loss or damage in any way from its use.

RI3K Limited is a company registered in England no: 3909745.  Registered office 10, Ely Place, London, EC1N 6RY.   VAT registration no: 769 0192 07

Re: jcr org.apache.lucene.index.CorruptIndexException: Unknown format version: -7

Posted by Marcel Reutegger <ma...@gmx.net>.
Hi,

please make sure you are using the correct combination of lucene-core
and jackrabbit release. the exception indicates that you have index
files that were created with lucene 2.4.1 but in your classpath there
is a previous version of lucene.

regards
 marcel

On Tue, Sep 8, 2009 at 11:40, Randeep Singh<ra...@ri3k.com> wrote:
> Hi All,
>
>
>
> I am trying to export JCR Repository using session.exportSystemView api and
> when I import it back I get this error
>
>
>
> org.apache.lucene.index.CorruptIndexException: Unknown format version: -7
>
>         at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:211)
>
>         at
> org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:68)
>
>         at
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
>
>         at
> org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:63)
>
>         at org.apache.lucene.index.IndexReader.open(IndexReader.java:209)
>
>         at org.apache.lucene.index.IndexReader.open(IndexReader.java:192)
>
>
>
> Please help me to resolve this issue.
>
>
>
> Thanks & Regards
>
> Randeep Singh
>
>
>
>
>
>
>
>
>
> ________________________________________________________________________
> This e-mail and its attachments are confidential. If you are not the
> intended recipient of this e-mail message, please telephone or e-mail us
> immediately, delete this message from your system and do not read, copy,
> distribute, disclose or otherwise use this e-mail message and any
> attachments.
>
> Although RI3K believes this e-mail and any attachments to be free of any
> virus or other defect which may affect your computer, it is the
> responsibility of the recipient to ensure that it is virus free and RI3K
> does not accept any responsibility for any loss or damage in any way from
> its use.
>
> RI3K Limited is a company registered in England no: 3909745. Registered
> office 10, Ely Place, London, EC1N 6RY. VAT registration no: 769 0192 07
>