Daewon Jeong created S2GRAPH-202: ------------------------------------ Summary: Propose that the contents of a property can be searched in Verterx queries Key: S2GRAPH-202 URL: https://issues.apache.org/jira/browse/S2GRAPH-202 Project: S2Graph Issue Type: New Feature Components: s2core, s2graphql Reporter: Daewon Jeong Assignee: Daewon Jeong
h1. Propose that the contents of a property can be searched in Verterx queries Currently, you need to know the ID of the vertex when querying the ServiceColum. ex) Movie(id: 1) Add search function to allows you to perform queries even if you do not know the Vertex ID. ex) Movie(search: "title has 'star wars'") Also, since the amount of search may be large in this case, the functions provided by the Label also provide functions such as `offset/limit`. h2. Expected implementation specification. Assuming that the following ServiceColumn is defined {noformat} ServiceColumn: { props: ["title"] } {noformat} Operation list '=': If the value of the property matches the supplied string 'contains': The value of the property contains the supplied string. To be {noformat} query { movielens { Movie(search: "title contains 'star wars'", offset: 0, limit: 10) { age title } } } {noformat} As is {noformat} query { movielens { Movie(id: 1) { age title } } } {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)