From a2082e4b381dfee4ef75f08ccf71eb070c92c9b2 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 11 Dec 2015 10:53:22 +0000 Subject: [PATCH 1/2] Note that count is approximate --- api/client-server/search.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client-server/search.yaml b/api/client-server/search.yaml index 60329ce59..64aca4503 100644 --- a/api/client-server/search.yaml +++ b/api/client-server/search.yaml @@ -157,7 +157,7 @@ paths: properties: count: type: number - description: Total number of results found + description: An approximate count of number of results found. results: type: array title: Results @@ -298,7 +298,7 @@ paths: } }, "next_batch": "5FdgFsd234dfgsdfFD", - "count": 24, + "count": 1224, "results": [ { "rank": 0.00424866, From 88b350ca8b7eb4a57109fd2da31f491b45a5f236 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 11 Dec 2015 11:41:51 +0000 Subject: [PATCH 2/2] Better wording --- api/client-server/search.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client-server/search.yaml b/api/client-server/search.yaml index 64aca4503..0bf7ffd9b 100644 --- a/api/client-server/search.yaml +++ b/api/client-server/search.yaml @@ -157,7 +157,7 @@ paths: properties: count: type: number - description: An approximate count of number of results found. + description: An approximate count of the total number of results found. results: type: array title: Results