Xamarin Android Map Reduce Help Needed

Hey @DonRedd2014,

Have you taken a look at the developer documentations on the ‘Working with Views’ section?

Best to go over the guide with understanding the Map functions

function(doc) { if (doc["type"] == "car") emit(doc["type"], doc["make"]); }

The map function here checks whether the document represents a vehicle type, and if it does, it calls emit to add the type and make to the index.

The resulting index maps type to make. You can then query it to look up the type and find the make.