Je suis débutant dans Solr. J'ai installé Solr 1.4.1 sur Tomcat 7 sous Windows 7. L'installation a réussi. Je peux atteindre la page http://localhost:8080/solr/admin/. Mais quand j'essaye de publier des tests XML, j'ai cette erreur bizarre.SimplePostTool: FATAL: Erreur de connexion (Solr est-il en cours d'exécution à http: // localhost: 8983/solr/update?)
C:\Users\Bohdan\Downloads\apache-solr-1.4.1\apache-solr-1.4.1\example\exampledocs>java -jar post.jar solr.xml
SimplePostTool: version 1.2
SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other encodings are not currently supported
SimplePostTool: POSTing files to http://localhost:8983/solr/update..
SimplePostTool: POSTing file solr.xml
SimplePostTool: FATAL: Connection error (is Solr running at http://localhost:8983/solr/update ?): java.net.ConnectException: Connection refused: connect
C:\Users\Bohdan\Downloads\apache-solr-1.4.1\apache-solr-1.4.1\example\exampledocs>
Malheureusement je ne trouve pas de réponse sur internet. Peut-être que quelqu'un sait.
vous avez raison mais je ne sais pas comment le changer ... il n'y a qu'un seul fichier jar pour poster sans configuration . – Cherven
voici la solution java -Durl = localhost: 8080/solr/update -jar post.jar solr.xml – Cherven
Dans mon cas, il devait être: java -Durl = http: // localhost: 8080/solr/update -jar post.jar solr.xml monitor.xml – Rasmus