conv_owner_id, DISTINCT ARRAY r FOR r IN
type = “conversation”)
WHERE type = ‘conversation’
conv_owner_id = 6
OR ANY r IN
conv_recipients SATISFIES r=6 END
I cannot get the query to use the aforementioned index.
When one of the document elements (ie.
conv_recipients) are used in index and query respectively, the index is used. But when used combined in the index and query, they are not!