Hello, I have a problem, I can't understand how to write map function that solves my problem:
I have a lot of "documents", each document has type (e.g. item, user), category and brand. So i have map functions that gives me a list of every document that has type item (that's easy), but how i can get list of all documents that has brand == xxx or category == yyy or even brand==xxx&category=zzz (xxx,yyy,zzz different every time).
