ChoelWu opened a new issue, #2693:
URL: https://github.com/apache/incubator-hugegraph/issues/2693

   ### Feature Description (功能描述)
   
   如何根据节点字符串类型属性筛选节点,例如city属性为Hongkong
   请求内容设置如下后
   "label": "person",
       "properties": {
           "city": "P.eq('Hongkong')"
        }
   报错:
   {
       "exception": "class org.apache.hugegraph.HugeException",
       "message": "Invalid value ''Hongkong'', expect a number",
       "cause": "org.apache.hugegraph.HugeException: Can't read json: 
Unexpected character (''' (code 39)): expected a valid value (JSON String, 
Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: 
(String)\"'Hongkong'\"; line: 1, column: 2]"
   }
   此外尝试了"city": "P.eq(\"Hongkong\")" 还有 "city": "P.eq(Hongkong)",均无法筛选节点并报错


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to