Add size: 0 to esaggs searchsource (#27116)

This commit is contained in:
Tim Roes 2018-12-18 14:59:03 +01:00 committed by GitHub
parent 5a763ec71b
commit 505582037d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,7 @@ export const esaggs = () => ({
// we should move searchSource creation inside courier request handler
const searchSource = new SearchSource();
searchSource.setField('index', indexPattern);
searchSource.setField('size', 0);
const response = await courierRequestHandler({
searchSource: searchSource,