Discussion:
CorruptIndexException: Unknown format version
Maximilian Hütter
2009-08-07 08:41:24 UTC
Permalink
Hi,

how can that happen, it is a new index, and it is already corrupt?

Did anybody else something like this?

WARN - 2009-08-07 10:44:54,925 | Solr index directory 'data/solr/index'
doesn't exist. Creating new index...
WARN - 2009-08-07 10:44:56,583 | solrconfig.xml uses deprecated
<admin/gettableFiles>, Please update your config to use the
ShowFileRequestHandler.
WARN - 2009-08-07 10:44:56,586 | adding ShowFileRequestHandler with
hidden files: [XSLT]
ERROR - 2009-08-07 10:44:58,758 | java.lang.RuntimeException:
org.apache.lucene.index.CorruptIndexException: Unknown format version: -7
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:433)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:216)
at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:177)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)
at
org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)


Best regards
--
Maximilian Hütter
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel : (+49) 0711 - 45 10 17 578
Fax : (+49) 0711 - 45 10 17 573
e-mail : ***@blue-elephant-systems.com
Sitz : Stuttgart, Amtsgericht Stuttgart, HRB 24106
Geschäftsführer: Joachim Hörnle, Thomas Gentsch, Holger Dietrich
Yonik Seeley
2009-08-07 14:24:49 UTC
Permalink
Wow, that is an interesting one...
I bet there is more than one Lucene version kicking around the
classpath somehow.
Try removing all of the servlet container's working directories.

-Yonik
http://www.lucidimagination.com

On Fri, Aug 7, 2009 at 4:41 AM, Maximilian
Post by Maximilian Hütter
Hi,
how can that happen, it is a new index, and it is already corrupt?
Did anybody else something like this?
WARN - 2009-08-07 10:44:54,925 | Solr index directory 'data/solr/index'
doesn't exist. Creating new index...
WARN - 2009-08-07 10:44:56,583 | solrconfig.xml uses deprecated
<admin/gettableFiles>, Please update your config to use the
ShowFileRequestHandler.
WARN - 2009-08-07 10:44:56,586 | adding ShowFileRequestHandler with
hidden files: [XSLT]
org.apache.lucene.index.CorruptIndexException: Unknown format version: -7
       at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:433)
       at org.apache.solr.core.SolrCore.<init>(SolrCore.java:216)
       at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:177)
       at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69)
       at
org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
Best regards
--
Maximilian Hütter
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart
Tel            :  (+49) 0711 - 45 10 17 578
Fax            :  (+49) 0711 - 45 10 17 573
Sitz           :  Stuttgart, Amtsgericht Stuttgart, HRB 24106
Geschäftsführer:  Joachim Hörnle, Thomas Gentsch, Holger Dietrich
Chris Hostetter
2009-08-18 22:44:25 UTC
Permalink
: how can that happen, it is a new index, and it is already corrupt?
:
: Did anybody else something like this?

"Unknown format version" doesn't mean your index is corrupt .. it means
the version of LUcnee parsing the index doesn't recognize the index format
version ... typically it means you are trying to open an index generated
by a newer version of lucene then the one you are using.




-Hoss
Licinio Fernández Maurelo
2009-08-19 08:15:09 UTC
Permalink
It looks like your solr lucene-core version doesn't match with the
lucene version used to generate the index, as Yonik said, looks like
there is a lucene library conflict.
Post by Chris Hostetter
: how can that happen, it is a new index, and it is already corrupt?
: Did anybody else something like this?
"Unknown format version" doesn't mean your index is corrupt .. it means
the version of LUcnee parsing the index doesn't recognize the index format
version ... typically it means you are trying to open an index generated
by a newer version of lucene then the one you are using.
-Hoss
--
Lici
Loading...