Emitting more than one key allows me to search in several values,
view.SetMap((doc, emit) => {
emit(doc["firstName"], doc.Id);
emit(doc["lastName"], doc.Id);
});
but I now have two rows in the result set. Is there a way to filter the result set to get the unique documents?
Thanks