What versions of Lucene are Nutch and Luke using? When you play with the index you should ensure that the version of Lucene being used is the same as what Nutch is using.
On Sat, Mar 14, 2009 at 8:41 AM, <alx...@aim.com> wrote: > > > > Hello, > > I used? lukeall-0.9.1.jar to manually add a new? record? to index? produced? > by? nutch-0.9.? I? added only url and title fields, since I was not sure what > to put on the other fields. Now for? search of any word I get this error > > > HTTP Status 500 - > > > > type Exception report > > message > > description The server encountered an internal error () that prevented it > from fulfilling this request. > > exception > > org.apache.jasper.JasperException: java.io.IOException: Unknown format > version: -7 > > org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:404) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > > root cause > > java.io.IOException: Unknown format version: -7 > org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:195) > org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:152) > > org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:579) > org.apache.lucene.index.IndexReader.open(IndexReader.java:147) > org.apache.lucene.index.IndexReader.open(IndexReader.java:142) > org.apache.nutch.searcher.IndexSearcher.<init>(IndexSearcher.java:71) > org.apache.nutch.searcher.NutchBean.init(NutchBean.java:119) > org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:106) > org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:84) > org.apache.nutch.searcher.NutchBean.get(NutchBean.java:71) > org.apache.jsp.search_jsp._jspService(search_jsp.java:112) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > Why unknown format? Any idea what went wrong? > > Thanks. > Alex. > > > > >