You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Pinal Shah (Jira)" <ji...@apache.org> on 2021/10/01 15:06:00 UTC
[jira] [Updated] (ATLAS-4442) Support Relationship search
[ https://issues.apache.org/jira/browse/ATLAS-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pinal Shah updated ATLAS-4442:
------------------------------
Description:
*Current Working :*
Atlas is entirely entity-based – it is not possible to search for relationships.
*Improvement :*
Get all relationships (edges) for particular relationship type, having some criteria on its properties
*Example :
* {{Get all relations matching type = rel_type and edge_property1 = edge_value1}}
*Request Payload :*
{"relationshipName" : "rel_type",
"relationshipFilters": { "condition": "OR", "criterion": [
{ "attributeName": "{{edge_property1}}", "operator": "eq", "attributeValue": "{{edge_value1}}" }
] },
"limit":25,
"offset":0 }
was:
*Current Working :*
Atlas is entirely entity-based – it is not possible to search for relationships.
*Improvement :*
Get all relationships (edges) for particular relationship type, having some criteria on its properties
*Example :
* {{Get all relations matching type = rel_type and edge_property1 = edge_value1}}
*Request Payload :*
{"relationshipName" : "rel_type",
"relationshipFilters": \{ "condition": "OR", "criterion": [{ "attributeName": "post_name", "operator": "contains", "attributeValue": "jay", "typeName":"user_post" }] },
"limit":25,
"offset":0 }
{{}}
> Support Relationship search
> ---------------------------
>
> Key: ATLAS-4442
> URL: https://issues.apache.org/jira/browse/ATLAS-4442
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Reporter: Pinal Shah
> Assignee: Pinal Shah
> Priority: Major
>
> *Current Working :*
> Atlas is entirely entity-based – it is not possible to search for relationships.
> *Improvement :*
> Get all relationships (edges) for particular relationship type, having some criteria on its properties
> *Example :
> * {{Get all relations matching type = rel_type and edge_property1 = edge_value1}}
> *Request Payload :*
> {"relationshipName" : "rel_type",
> "relationshipFilters": { "condition": "OR", "criterion": [
> { "attributeName": "{{edge_property1}}", "operator": "eq", "attributeValue": "{{edge_value1}}" }
> ] },
> "limit":25,
> "offset":0 }
--
This message was sent by Atlassian Jira
(v8.3.4#803005)