Hi Swithun, I've replaced gsearch lucene jar files with the one provided in Solr (2.9.3, in my case) and Gsearch seems to work fine. Hope it helps!
Cheers, Agustina ________________________________________ From: Swithun Crowe [c...@st-andrews.ac.uk] Sent: 09 March 2011 10:37 To: fedora-commons-users@lists.sourceforge.net Subject: [fcrepo-user] problems with GSearch + Solr Hello I'm trying to get Fedora GSearch and Solr to work together, as steps to installing Islandora. I have Fedora 3.4, GSearch 2.2 and Solr 1.3. I was getting the dreaded "no segments* file" errors, but I have managed to get these to go away. Now I have this error: dk.defxws.fedoragsearch.server.errors.GenericSearchException: IndexReader open error indexName=DemoOnSolr : ; nested exception is: org.apache.lucene.index.CorruptIndexException: Unknown format version: -9 at dk.defxws.fgssolr.OperationsImpl.getIndexReader(OperationsImpl.java:629) at dk.defxws.fgssolr.OperationsImpl.updateIndex(OperationsImpl.java:252) at dk.defxws.fedoragsearch.server.GenericOperationsImpl.updateIndex(GenericOperationsImpl.java:308) at dk.defxws.fedoragsearch.server.RESTImpl.updateIndex(RESTImpl.java:261) at dk.defxws.fedoragsearch.server.RESTImpl.doGet(RESTImpl.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.lucene.index.CorruptIndexException: Unknown format version: -9 at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:225) at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:94) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:653) at org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:111) at org.apache.lucene.index.IndexReader.open(IndexReader.java:316) at org.apache.lucene.index.IndexReader.open(IndexReader.java:206) at dk.defxws.fgssolr.OperationsImpl.getIndexReader(OperationsImpl.java:627) I can search using Solr and it will find things that it has indexed. But when I try to search using GSearch, I get the above error. I've looked at the Lucene jars used by GSearch and Solr. They are both version 2.4. According to the Solr FAQ, this is usually an indication of conflicting versions used for the creation and reading of the index. But the versions I'm using seem to be the same. I know some other people have had this problem, but have any of them found a solution? Thanks. Swithun. -- The University of St Andrews is a charity registered in Scotland: SC013532 ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users