我对Solr有点新,并且一直在尝试使用Schemaless配置的示例 . 我使用以下命令启动Solr:

bin / solr start -e schemaless

solr确实启动了 . 我试图使用curl命令将xml文档发布到无模式索引,如下所示:

curl“http://localhost:8983/solr/gettingstarted/update?commit=true&wt=xml " -H " Content-type:application / xml " -d " xml text goes here”

但是,当我运行curl命令查看应该添加到索引的字段时,我只看到首次启动solr时存在的默认值 .

启动solr时有什么我遗漏的吗?

感谢您的帮助 .