map/reduce index demo