OrientDB 错误的搜索结果

OrientDB Wrong search result


似乎 OrientDB 没有 return 简单搜索的正确结果。
我创建了一个 class 节点 item 具有 2 个属性 idflag

flag 可以通过 10null 值设置。

我使用下面的查询来获取所有具有 flagitem1

`select from item where flag = 1`

但查询 return 什么也没有。
注意: 我已经在 2.2.72.2.10 上进行了测试,似乎只有在提供数据之前在架构中定义了 flag 时才会出现此问题。 是错误吗?

已更新:添加了示例数据库。 Get it here

在 2.2.10 上测试,这里没有问题:

create class item extends v
create property item.id STRING
create property item.flag DECIMAL
insert into item(id,flag) values ("id1",1)
select from item where flag = 1

还在工作室 -> 架构中的 id 上添加了 UNIQUE 索引。

输出:

如果你使用 select from item where 1 = flag 就可以了。

对于您的查询 select from item where flag = 1,您能否在 github 附加数据库上提出一个问题?