Loredra L
Loredra L

Reputation: 1553

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?

Upvotes: 0

Views: 136

Answers (1)

Loredra L
Loredra L

Reputation: 1553

With comment from @mpoeter , I can create an index that are specifically spare to force arango to use index.

Upvotes: -1

Related Questions