Both arrays in the $lookup command

Hi,
In the $lookup field, what if both the localField and the foreginField are arrays as opposed to one of them being an array? Will that many documents be resolved?

Thanks
Apurva