使用netstat -lntp来看看有侦听在网络某端口的进程。当然,也可以使用 lsof。

父子文档 可以两个类型同时是一个类型的孩子吗?

Elasticsearch | 作者 wangshuoqiong | 发布于2017年12月26日 | 阅读数:1754

多个数据的确定都需要用到相同的参数作为判定标准。
PUT me_insur_design111
{
"mappings": {
"pay_ratio":{},
"B_type_drug":{
"_parent": {
"type": "pay_ratio"
}
}
}
}
PUT me_insur_design111
{
"mappings": {
"pay_ratio": {},
"surgery_list":{
"_parent": {
"type": "pay_ratio"
}
}
}
}
pay_ratio受到B_type_drug和surgery_list两个参数的影响,同时每个参数中的数据是一个表的形式,想设计成这两个都是pay_ratio的孩子文档的形式,但是第二个执行的时候报错了
{
"error": {
"root_cause": [
{
"type": "index_already_exists_exception",
"reason": "index [me_insur_design111/GETNNJ25RIuBstt2H5NcAQ] already exists",
"index_uuid": "GETNNJ25RIuBstt2H5NcAQ",
"index": "me_insur_design111"
}
],
"type": "index_already_exists_exception",
"reason": "index [me_insur_design111/GETNNJ25RIuBstt2H5NcAQ] already exists",
"index_uuid": "GETNNJ25RIuBstt2H5NcAQ",
"index": "me_insur_design111"
},
"status": 400
}
所以一个父类型能有几个子类型??不能一对多是吗?
已邀请:

要回复问题请先登录注册