Hi Jörg,
what exactly do you mean by "it doesn't work"? Is there some kind of error
message?
In any case you will at least want to url_encode() the data you add into
that Curl url.
Generally:
- You can import data e.g. via a CSV file
- You can use the Solr PHP PECL extension (which offers a few
Joerg -
In your PHP code, you can create a snippet of XML with your fields and send
that to your solr server via a form post. Example of XML Schema here
http://wiki.apache.org/solr/UpdateXmlMessages.
> Date: Thu, 14 Jul 2011 20:48:20 +0200
> Subject: import Data via PHP
> From: joerg.ag...@