简体   繁体   中英

Arango AQL use index to search for existing property

I want to get all object with available property "available"

For u in col
filter u.available!= null
return u

But the above query would not use index even if u.available is indexed. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM