Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error while connecting AEM with remote Solr

Avatar

Level 2

Hi,

I have  followed this URL http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/queries-and-indexing.html

for connecting Solr with AEM. I configured AEM for Solr remote connection but when I run the query and do explain query. I get the following error:

cost using filter Filter(query=explain SELECT * FROM [nt:file] AS s, path=*)

found a Solr index definition solrIndex

unable to initialize Solr HTTP client for [http://localhost:8983/solr] 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 /solr/admin/ping. 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.HttpSolrServer.request(HttpSolrServer.java:459).

 

I have attached the real output when I do explain query.

Any help will be great.

0 Replies

Avatar

Level 10

Open a bug against the docs here:

https://helpx.adobe.com/marketing-cloud/experience-manager.html

If you are following the AEM documentation and getting an error - then there is an issue in the docs. 

In the mean time - i will get support to look at this.