Every time you see "Expected mime type application/octet-stream but got text/html” from SolrJ, it means that Solr returned an error. Look for an error in the Solr logs at the same time as the SolrJ message.
It could be any error, which is why we can’t help more. After you know the Solr error, we might be able to help. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Sep 10, 2018, at 7:45 AM, Erick Erickson <erickerick...@gmail.com> wrote: > > It would be best to ask on the Nutch mailing list, this list doesn't > have very many people who know _how_ Nutch uses Solr though. > > Best, > Erick > On Sun, Sep 9, 2018 at 11:47 PM Bineesh <kunhu0...@gmail.com> wrote: >> >> Hi Team, >> >> We are using Nutch 1.15 and Solr 6.6.3 >> >> We tried crawling one of the URL and and noticed issues while indexing data >> to solr.Below is the capture from logs >> >> Caused by: >> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error >> from server at http://localhost:8983/solr/nutch: Expected mime type >> application/octet-stream but got text/html. <html> >> >> Here in the log i see collection name is nutch but the actual collection >> name i created is Nutch1.15_Test >> >> Given below is the command used for crawling >> >> bin/nutch solrindex http://10.150.17.32:8983/solr/Nutch1.15_Test >> crawl/crawldb -linkdb crawl/linkdb crawl/segments/* >> >> >> Please suggest any workarounds if available. Thank you >> >> >> >> -- >> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html