Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

[Bug fix] support csv report for saved search with multiple indices #267

Merged
merged 2 commits into from
Dec 18, 2020

Conversation

zhongnansu
Copy link
Member

@zhongnansu zhongnansu commented Dec 18, 2020

Issue #, if available:
#262 #251 #249

Description of changes:

  • Add the traverse logic to find the correct value for maxResultSize, for saved search settings with multiple indices.(usually from index-pattern using wildcard)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@zhongnansu zhongnansu requested review from dai-chen, davidcui1225, joshuali925 and akbhatta and removed request for dai-chen December 18, 2020 20:36
Copy link
Contributor

@davidcui1225 davidcui1225 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented Dec 18, 2020

Codecov Report

Merging #267 (b27f987) into dev (c8b2dd0) will increase coverage by 0.04%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #267      +/-   ##
==========================================
+ Coverage   74.87%   74.91%   +0.04%     
==========================================
  Files          32       32              
  Lines        1751     1754       +3     
  Branches      341      340       -1     
==========================================
+ Hits         1311     1314       +3     
  Misses        435      435              
  Partials        5        5              
Impacted Files Coverage Δ
...rts/server/routes/utils/savedSearchReportHelper.ts 98.75% <83.33%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8b2dd0...b27f987. Read the comment docs.

@zhongnansu zhongnansu merged commit a047d10 into opendistro-for-elasticsearch:dev Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants