Just to add, my solrconfig.xml is the standard one, with no modifications. It was taken directly from the collection1 core from 4.10.2 installation. However, in schema.xml, I have added my own fields. Hope it has got nothing to do with schema.xml
Thanks & Regards Vijay <vijaya.bhoomire...@whishworks.com> wrote: > Hi, > > I am suddenly seeing this error message when I try to index documents > using SolrJ client. The same piece of code was working fine last time when > I indexed the documents. But now, this is the error message being thrown on > the SolrJ client. Request your urgent help as this is very high priority > for me. > > > Exception in thread "main" > org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: > Expected mime type application/octet-stream but got text/html. <html> > <head> > <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> > <title>Error 404 Not Found</title> > </head> > <body> > <h2>HTTP ERROR: 404</h2> > <p>Problem accessing /update. Reason: > <pre> Not Found</pre></p> > <hr /><i><small>Powered by Jetty://</small></i> > > </body> > </html> > > at > org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206) > at > org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124) > at > com.lgcgroup.solr.indexer.SolrTikaIndexer.indexBinaryDocuments(SolrTikaIndexer.java:154) > at com.lgcgroup.solr.indexer.IndexingDriver.main(IndexingDriver.java:54) > > > Thanks & Regards > Vijay > -- The contents of this e-mail are confidential and for the exclusive use of the intended recipient. If you receive this e-mail in error please delete it from your system immediately and notify us either by e-mail or telephone. You should not copy, forward or otherwise disclose the content of the e-mail. The views expressed in this communication may not necessarily be the view held by WHISHWORKS.