Dear Eric I have two solr cores one named as semi_final and the other rishi. when i use more like this function in semi_final core, it is giving the results, but it is throwing the problem accessing mlt error in the core rishi. The schema and configuration of both rishi and semifinal are same. In server logs, no logs related to the core rishi are available. My main trouble is that I am not able to replicate the development code into deployment because of this error. Also how to find a particular document's ID? We need to give give the id of a document to morelikethis query right. Regards Srinivas Rishindra
*Regards* *Birla Inst**itute of Technology & Science,* Pilani K K Birla Goa Campus Goa, India. 403 726 Mobile: (+91)8600077149 E.mail: f2011...@goa.bits-pilani.ac.in <sut...@goa.bits-pilani.ac.in> On Wed, Apr 22, 2015 at 3:15 PM, 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) > >