dongma opened a new issue, #2350: URL: https://github.com/apache/incubator-hugegraph/issues/2350
### Problem Type (问题类型) struct / logic (架构 / 逻辑设计问题) ### Before submit - [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents) ### Environment (环境信息) - Server Version: 1.0.0 (Apache Release Version) - Backend: RocksDB x nodes, HDD or SSD - OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) --> ### Your Question (问题描述) How to write not contains using gremlin on hugegraph? Below is the contains syntax,But I don't know the grammer of not contains? ```AQL g.V().has('student','object_key',within('610541189818181616')).bothE().and(has('stu_edges','object_key',Text.contains('610541189818181619'))).otherV().hasLabel('student').limit(10); ``` I have tried serveral ways to implement, But this sentances was not complied,Please give some suggestion,Thanks. ```AQL // add not() function outer of has() function, failed to executed. g.V().has('student','object_key',within('610541189818181616')).bothE().and(**not(**has('stu_edges','object_key',Text.contains('610541189818181619'))**)**).otherV().hasLabel('student').limit(10); ``` Use notContaining function which is provided in standard gremlin grammer, but this function is not supported. ```AQL g.V().has('student','object_key',within('610541189818181616')).bothE().and(has('stu_edges','object_key',notContaining ('610541189818181619'))).otherV().hasLabel('student').limit(10); ``` ### Vertex/Edge example (问题点 / 边数据举例) _No response_ ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org