[英]Arango AQL use index to search for existing property
I want to get all object with available property "available"我想获得所有具有可用属性“可用”的 object
For u in col
filter u.available!= null
return u
But the above query would not use index even if u.available is indexed.但是即使 u.available 被索引,上述查询也不会使用索引。 How can I iterate with the use of index?
如何使用索引进行迭代?
With comment from @mpoeter, I can create an index that are specifically spare to force arango to use index.通过@mpoeter 的评论,我可以创建一个专门用于强制 arango 使用索引的索引。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.