Oh. You are saying you are sending a text file and somehow Tika gets involved.
Which handler are you sending it to and what format is your text file in? If it's Solr XML/JSON or CSV, you should be sending it to the /update handler, not the /extract one. Regards, Alex. ---- Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 19 December 2014 at 03:00, Joel Stobart <j...@stobart.co.uk> wrote: > Hi, > > I know that they mismatch. I'm guessing that there is something inside Tika > that is setting up. Or alternatively it's trying to guess the format and > needs to unzip. I don't really understand why the error says a constant is > not available. > > > Any ideas? > > - Joel > > On 18 December 2014 at 17:01, Alexandre Rafalovitch <arafa...@gmail.com> > wrote: >> >> Your description and your stacktrace seem to mismatch. >> >> You say you upload a plan text file, yet the stacktrace is for sending >> a zip file to an Extract (Tika) update handler. And the error is most >> probably for some meta fields that Tika generates in the process. >> >> Regards, >> Alex. >> ---- >> Sign up for my Solr resources newsletter at http://www.solr-start.com/ >> >> >> On 18 December 2014 at 02:40, Joel Stobart <j...@stobart.co.uk> wrote: >> > When I try to upload a solr item by the index: >> > >> > <site>/solr/#/collection1/documents >> > >> > When I upload a simple text file via the interface: >> > >> > Response: >> > >> > { >> > "error": { >> > "msg": "java.lang.NoSuchFieldError: LFH_SIG", >> > "trace": "java.lang.RuntimeException: java.lang.NoSuchFieldError: >> > LFH_SIG\n\tat >> org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:790)\n\tat >> > >> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:439)\n\tat >> > >> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)\n\tat >> > >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat >> > >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat >> > >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\n\tat >> > >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\n\tat >> > >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\n\tat >> > >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)\n\tat >> > >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\n\tat >> > >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\n\tat >> > org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)\n\tat >> > >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)\n\tat >> > >> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)\n\tat >> > >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat >> > >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat >> > java.lang.Thread.run(Thread.java:745)\nCaused by: >> > java.lang.NoSuchFieldError: LFH_SIG\n\tat >> > >> org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.<clinit>(ZipArchiveInputStream.java:766)\n\tat >> > >> org.apache.commons.compress.archivers.ArchiveStreamFactory.createArchiveInputStream(ArchiveStreamFactory.java:280)\n\tat >> > >> org.apache.tika.parser.pkg.ZipContainerDetector.detectArchiveFormat(ZipContainerDetector.java:113)\n\tat >> > >> org.apache.tika.parser.pkg.ZipContainerDetector.detect(ZipContainerDetector.java:77)\n\tat >> > >> org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:61)\n\tat >> > >> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:113)\n\tat >> > >> org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(ExtractingDocumentLoader.java:219)\n\tat >> > >> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)\n\tat >> > >> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\tat >> > org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)\n\tat >> > >> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)\n\tat >> > >> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)\n\t... >> > 15 more\n", >> > "code": 500 >> > } >> > } >> > I've tried new version of common compress - to no avail - any ideas >> > kind regards,Joel >>