Description
Provides a way to query data with the value of the Vertex property in a GraphQL query.
Now implementations in GraphQL need to know the starting Vertex ID to be able to query.
Suppose have the following user.
User { id: "daewon" age: 35 }
The query that fetch a friends of user 'daewon' is shown below. It works well.
User(id: "daewon") { friends { id } }
This time, let's consider a query that fetch a friends who is older than 30 years old.
Below is the expected query.
Kakao { User(search: "age > 30") { id name friends { User { id name } } } }
However, this feature is not available at this time.
Things to implement
- Must be able to use the properties of 'User' ServiceColumn as a parameter in 'search'
- Should be able to find vertices that match the properties defined in the above parameters(search).
Associated issues that must be preceded and handled
- Provide global index: https://issues.apache.org/jira/browse/S2GRAPH-151
- Refactor S2Query to specify index on getVertices: https://issues.apache.org/jira/browse/S2GRAPH-155
Attachments
Issue Links
- links to