< was unexpected at this time.
note below red part.
curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary "<add><doc><field name='id'>testdoc</field></doc></add>"
本文介绍如何使用curl命令通过HTTP POST方式向Solr服务器更新文档。具体步骤包括设置请求头、定义XML格式的数据并提交到Solr服务器。
< was unexpected at this time.
note below red part.
curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary "<add><doc><field name='id'>testdoc</field></doc></add>"
3813

被折叠的 条评论
为什么被折叠?