Hello everybody

 

Can assist t me in figure out the problems related in index creation.

It works using  this commands but again an error happens 

When I try to create  indexes again

Stopping Tomcat: sudo /etc/init.d/tomcat5.5 stop

Manually deleting search indexes: sudo rm -f /home/dspace/search/*

Creating indexes again: sudo /home/dspace/bin/dspace index-init

Fixing permissions: sudo chown -R tomcat55 /home/dspace

Restarting Tomcat: sudo /etc/init.d/tomcat5.5 start

Exception: Unknown format version: -9

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

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

        at
org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:16
8)

        at
org.apache.lucene.index.IndexWriter.init(IndexWriter.java:722)

        at
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:452)

        at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:781)

        at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:425)

        at org.dspace.search.DSIndexer.main(DSIndexer.java:539)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)

swebshet@ilrivm2:~$ .CorruptIndexExceptionCorruptIndexException

-bash: .CorruptIndexExceptionCorruptIndexException: command not found

 

 

Thanks 

 

sisay

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to