我正在尝试使用Java进行简单的SolrDocument提交,就像Solrj Wiki中详述的那样.但是,提交总是失败并返回:
org.apache.solr.common.SolrException: Bad Request
Bad Request
request: http://address:port/solr/update?wt=xml&version=2.2
Run Code Online (Sandbox Code Playgroud)
通过Solrj查询Solr服务器时,我没有遇到任何问题,所以我认为地址或连接没有任何问题.
如果这太模糊,我会道歉,但这是我必须继续下去的.谢谢.