mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Add size: 0 to esaggs searchsource (#27116)
This commit is contained in:
parent
5a763ec71b
commit
505582037d
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue