diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-12-06 15:01:56 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-12-06 15:01:56 +0100 |
commit | f7cad5592125f4f90f4e312d4d56887909f37558 (patch) | |
tree | edb080117b306b6116656cd08441794bf05582d7 /src/hub | |
parent | es5: 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.go | 2 |
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() |