如何解决从neo4j graphaware mapping.json显示Elasticsearch中的多个节点
我只能在我的Elasticsearch索引中显示一种默认节点类型。如何在Elasticsearch中为多个节点建立索引?我的mapping.json文件如下:
{
"defaults": {
"key_property": "uuid","nodes_index": "default-index-node","relationships_index": "default-index-relationship","include_remaining_properties": true
},"node_mappings": [
{
"condition": "hasLabel('A')","type": "A","index":"A-index","properties": {
"id": "getProperty('id')"
}
},{
"condition": "hasLabel('B')","type": "B","index":"B-index","properties": {
"id": "getProperty('id')"
}
},{
"condition": "hasLabel('C')","type": "C","index":"C-index","properties": {
"id": "getProperty('id')"
}
}
]
提前谢谢!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。