ElasticSearch 连接器 - 属性 链中的反向 IRI
ElasticSearch connector - Inverse IRIs in property chains
我在 9.7 发行说明中看到那一行:
GDB-5477 Add support for inverse IRIs in the connectors property chains
这个功能可以用吗?我在 ES Connectors pages.
中找不到文档
如果您想过滤掉特定的 属性 链,该功能很有用。例如:
{
"fieldName":"operatesEquipment_variantOfFamily_label",
"propertyChain":[
"^http://example.com/nested/other/operatedBy",
"^http://example.com/nested/other/owns",
"http://example.com/nested/core/label"
],
"indexed":true,
"stored":true,
"analyzed":true,
"multivalued":true,
"fielddata":false
}
如果你像这样插入数据:
@prefix : <http://example.com/> .
:family2 <http://example.com/nested/core/label> "test" ;
<http://example.com/nested/other/owns> :equipement1 .
预期结果不会有任何与 operatedBy 或 owns 相关的内容:
{
"properties": {
"label": {
"store": true,
"type": "text"
},
"operatesEquipment_variantOfFamily_label": {
"store": true,
"type": "text"
}
}
}
我在 9.7 发行说明中看到那一行:
GDB-5477 Add support for inverse IRIs in the connectors property chains
这个功能可以用吗?我在 ES Connectors pages.
中找不到文档如果您想过滤掉特定的 属性 链,该功能很有用。例如:
{
"fieldName":"operatesEquipment_variantOfFamily_label",
"propertyChain":[
"^http://example.com/nested/other/operatedBy",
"^http://example.com/nested/other/owns",
"http://example.com/nested/core/label"
],
"indexed":true,
"stored":true,
"analyzed":true,
"multivalued":true,
"fielddata":false
}
如果你像这样插入数据:
@prefix : <http://example.com/> .
:family2 <http://example.com/nested/core/label> "test" ;
<http://example.com/nested/other/owns> :equipement1 .
预期结果不会有任何与 operatedBy 或 owns 相关的内容:
{
"properties": {
"label": {
"store": true,
"type": "text"
},
"operatesEquipment_variantOfFamily_label": {
"store": true,
"type": "text"
}
}
}