summaryrefslogtreecommitdiff
path: root/src/hub
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-12-06 15:01:56 +0100
committerChristian Pointner <equinox@spreadspace.org>2014-12-06 15:01:56 +0100
commitf7cad5592125f4f90f4e312d4d56887909f37558 (patch)
treeedb080117b306b6116656cd08441794bf05582d7 /src/hub
parentes5: added README (diff)
hub: improved last-update query for elasticsearch
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go b/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go
index b80e111..515a217 100644
--- a/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go
+++ b/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go
@@ -16,7 +16,7 @@ const lastUpdateJson = `{
}`
func (self StatsSinkServer) getLastUpdateEs(baseurl string, client *http.Client) (latestId int, storeId string, err error) {
- url := baseurl + "/dataupdate/_search?pretty"
+ url := baseurl + "/dataupdate/_search?search_type=count"
storeId, err = self.getHubIdInvoke()