I have a format like this:
a: 1 b: 1 c: 1 foo: 1
a: 2 b: 2 c: 2 foo: 1
a: 3 b: 3 c: 3
Basically some documents have foo and others don't. I would like to return all documents, but limit the number of documents containing foo with 1 to the first 20.
I've unsuccessfully tried to use slice. Can I get some help?