From 1205c572bba94bbb2ce4c59e0ce1bf38bc6bce65 Mon Sep 17 00:00:00 2001 From: Robin Date: Wed, 16 Mar 2016 09:45:38 -0500 Subject: [PATCH] add count field to expected returns for search queries --- .../src/test/resources/indexer/union_queries.json | 6 ++++-- .../test/resources/queries/twitterstream_queries.json | 9 ++++++--- .../resources/queries/wikipedia_editstream_queries.json | 6 ++++-- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/integration-tests/src/test/resources/indexer/union_queries.json b/integration-tests/src/test/resources/indexer/union_queries.json index 9c0ce5a0de5..08b7776e7ab 100644 --- a/integration-tests/src/test/resources/indexer/union_queries.json +++ b/integration-tests/src/test/resources/indexer/union_queries.json @@ -529,11 +529,13 @@ "result": [ { "dimension": "user", - "value": "triplets" + "value": "triplets", + "count":4 }, { "dimension": "namespace", - "value": "wikipedia" + "value": "wikipedia", + "count":12 } ] } diff --git a/integration-tests/src/test/resources/queries/twitterstream_queries.json b/integration-tests/src/test/resources/queries/twitterstream_queries.json index 4c0deb7d3e7..b2cffa9aa92 100644 --- a/integration-tests/src/test/resources/queries/twitterstream_queries.json +++ b/integration-tests/src/test/resources/queries/twitterstream_queries.json @@ -484,15 +484,18 @@ "result": [ { "dimension": "user_name", - "value": "1011Sports" + "value": "1011Sports", + "count":1 }, { "dimension": "user_name", - "value": "11AliveSports" + "value": "11AliveSports", + "count":1 }, { "dimension": "user_name", - "value": "1World_Sports" + "value": "1World_Sports", + "count":1 } ] } diff --git a/integration-tests/src/test/resources/queries/wikipedia_editstream_queries.json b/integration-tests/src/test/resources/queries/wikipedia_editstream_queries.json index aa5aa1e6408..947a075fa8e 100644 --- a/integration-tests/src/test/resources/queries/wikipedia_editstream_queries.json +++ b/integration-tests/src/test/resources/queries/wikipedia_editstream_queries.json @@ -997,11 +997,13 @@ "result": [ { "dimension": "page", - "value": "League_of_Legends" + "value": "League_of_Legends", + "count":31 }, { "dimension": "page", - "value": "The_best_ADs_in_The_League_of_legends" + "value": "The_best_ADs_in_The_League_of_legends", + "count":2 } ] }