Use count=0 instead of count=1 in initial queries
count=0 is now supported in Krill
(see Ibc64fca72d2e8464992fb05dd23507a099be1349 )
Change-Id: I33a73f848d0ec4d8db094913080f5701585b7106
diff --git a/R/KorAPQuery.R b/R/KorAPQuery.R
index b3fb9d5..14a990c 100644
--- a/R/KorAPQuery.R
+++ b/R/KorAPQuery.R
@@ -151,7 +151,7 @@
if (verbose) {
cat("Searching \"", query, "\" in \"", vc, "\"", sep="")
}
- res = apiCall(kco, paste0(requestUrl, '&count=1'))
+ res = apiCall(kco, paste0(requestUrl, '&count=0'))
if (verbose) {
cat(" took ", res$meta$benchmark, "\n", sep="")
}