lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Ángel Martín <miguelangel.mar...@brainsins.com>
Subject error opening index solr 4.0 with lukeall-4.0.0-ALPHA.jar
Date Fri, 16 Nov 2012 16:16:52 GMT
hi all:

i can open an index create with  solr 4.0. with luke version=>
 lukeall-4.0.0-ALPHA.jar

i have the error:

Format version is not supported (resource:
NIOFSIndexInput(path="/Users/desa/data/index/_2.tvx")): 1 (needs to be
between 0 and 0)
 at
org.apache.lucene.codecs.CodecUtil.checkHeaderNoMagic(CodecUtil.java:148)
at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:130)
 at
org.apache.lucene.codecs.lucene40.Lucene40TermVectorsReader.<init>(Lucene40TermVectorsReader.java:108)
at
org.apache.lucene.codecs.lucene40.Lucene40TermVectorsFormat.vectorsReader(Lucene40TermVectorsFormat.java:107)
 at
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:118)
at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:55)
 at
org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:752)
 at
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)
 at org.getopt.luke.Luke.openIndex(Luke.java:967)
at org.getopt.luke.Luke.openOk(Luke.java:696)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
 at thinlet.Thinlet.invokeImpl(Thinlet.java:4579)
at thinlet.Thinlet.invoke(Thinlet.java:4546)
 at thinlet.Thinlet.handleMouseEvent(Thinlet.java:3937)
at thinlet.Thinlet.processEvent(Thinlet.java:2917)
 at java.awt.Component.dispatchEventImpl(Component.java:4744)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
 at java.awt.Component.dispatchEvent(Component.java:4572)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
 at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
 at java.awt.Component.dispatchEvent(Component.java:4572)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704)
 at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
 at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
 at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
 at java.awt.EventQueue$3.run(EventQueue.java:677)
at java.awt.EventQueue$3.run(EventQueue.java:675)
 at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:674)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
o


any ideas?


I,ve created another index with lucene 4.0 and this luke open the index
well.

thanks in advance

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