Hi @edhog !
You are in the ballpark of success, but there is a mismatch between your index and your query.
Your index returns a tuple, the data.id
field in a matching document and the document’s ref
.
Your query uses:
q.Lambda((ref) => q.Get(ref))
which accepts a single value.
Instead, use:
q.Lambda(["id", "ref"], q.Get(q.Var("ref")))