Anything more informative in the Solr logs? Best, Erick
On Wed, Apr 22, 2015 at 2:45 AM, Srinivas Rishindra <sririshin...@gmail.com> wrote: > Hello, > > I am working on a project in which i have to find similar documents. > While I implementing the following error is occurring. Please let me know > what to do. > > Exception in thread "main" > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://localhost:8980/solr/rishi: 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 /solr/rishi/mlt. Reason: > <pre> Not Found</pre></p><hr /><i><small>Powered by > Jetty://</small></i><br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > <br/> > > </body> > </html> > > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:525) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:233) > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:225) > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135) > at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:943) > at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:958) > at MoreLikeThis.main(MoreLikeThis.java:31)