【发布时间】:2016-02-14 06:54:52
【问题描述】:
我创建了一个复制字段。但现在我想删除它。 Solr 正在引发错误,即。
{
"responseHeader":{
"status":0,
"QTime":0},
"errors":[{
"delete-copy-field":{
"source":"*assignees",
"dest":"all_assignees"},
"errorMessages":["No such operation : delete-copy-field"]}]}
我正在使用 solr-5-0-0。
我使用命令:
curl -X POST -H 'Content-type:application/json' --data-binary '{
"delete-copy-field":{ "source":"*assignees", "dest":"all_assignees" }
}' http://localhost:8983/solr/<<core name>>/schema
复制字段存在。我已经用这个命令检查了它:
curl -X GET http://localhost:8983/solr/patentCore/schema/copyfields
我看过solr的官方文档。我正在做与文档中提到的完全相同的事情。
请提出可能是什么问题。
【问题讨论】: