From 9f08730817fc10cb08567b93696061722c5adf5f Mon Sep 17 00:00:00 2001 From: Christoph Thelen <christoph.thelen@mni.thm.de> Date: Mon, 16 Mar 2015 12:33:27 +0100 Subject: [PATCH] Implement view for #15354: Return users who answered questions --- src/main/resources/views/statistics | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/views/statistics b/src/main/resources/views/statistics index f792d4e..93db95e 100644 --- a/src/main/resources/views/statistics +++ b/src/main/resources/views/statistics @@ -9,6 +9,10 @@ "unique_session_creators":{ "map":"function(doc) { if (doc.type === 'session') { emit(doc.creator, 1); } }", "reduce":"_count" + }, + "active_student_users":{ + "map":"function(doc) { if (doc.type === 'skill_question_answer') { emit(doc.user, 1); } }", + "reduce":"_count" } } } -- GitLab