Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过q.Match('fooIndex')了,其中 fooIndex 是一个没有字段的索引,但它返回一个奇怪的对象,它不是文档列表
q.Match('fooIndex')
Match('fooIndex') 返回一个SetRef。您必须将Map结果Paginate传递SetRef给Lambda文档Get。
Match('fooIndex')
SetRef
Map
Paginate
Lambda
Get
这应该可以获取 100 个文档。
Map(Paginate(Match('fooIndex'),{size:100}),Lambda("x",Get(Var("x"))))