On 11/30/06, Bess Sadler <[EMAIL PROTECTED]> wrote:
I think there must be a way to do this because I think I've seen
references to it, but I cannot find the proper syntax anywhere. Can I
post the output of a URL to solr? That is to say, if I have a webapp
that is generating the solr indexable files (e.g., http://localhost:
8888/gaz/solr/f0.xml will give an xml file of the type that solr
expects) do I need to download the file to disk and then post it, or
can I post it directly?

Try something like:

wget http://localhost:8888/gaz/solr/f0.xml -O - | curl
http://localhost:8983/solr/update --data-binary - -H
'Content-type:text/xml; charset=utf-8'

-Mike

Reply via email to