Once again, to be sure:

$ searchIndex=mysearchindex
$ bin/solr create -c $searchIndex
WARNING: Using _default configset with data driven schema functionality. NOT 
RECOMMENDED for production use.
         To turn off: bin/solr config -c mysearchindex -p 8983 -action 
set-user-property -property update.autoCreateFields -value false
Created new core 'mysearchindex'
$ bin/solr config -c mysearchindex -p 8983 -action set-user-property -property 
update.autoCreateFields -value false
Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is 
http://localhost:8983.

POSTing request to Config API: http://localhost:8983/mysearchindex/config
{"set-user-property":{"update.autoCreateFields":"false"}}

ERROR: Error from server at 
http://localhost:8983/mysearchindex/config?wt=javabin&version=2: Expected mime 
type in [application/vnd.apache.solr.javabin, 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 Not Found</h2>
<table>
<tr><th>URI:</th><td>/mysearchindex/config</td></tr>
<tr><th>STATUS:</th><td>404</td></tr>
<tr><th>MESSAGE:</th><td>Not Found</td></tr>
<tr><th>SERVLET:</th><td>-</td></tr>
</table>

</body>
</html>


In the command "bin/solr config", the variable "$searchIndex" is not used, 
because the whole command is copied-pasted from the output above.

Reply via email to