Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[settings/object] fix export all button, searchType: scan is gone #6774

Merged
merged 1 commit into from
Apr 4, 2016

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Apr 4, 2016

Fixes #6414

@epixa
Copy link
Contributor

epixa commented Apr 4, 2016

What did searchType even do?

@spalger
Copy link
Contributor Author

spalger commented Apr 4, 2016

searchType: 'scan' used to be required for walking through a sorted set of documents in an efficient way but it was deprecated in 2.1 and is no longer needed (or supported). More info: https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_search_changes.html#_literal_search_type_scan_literal_removed

@epixa
Copy link
Contributor

epixa commented Apr 4, 2016

Does it make sense to also send sort:_doc then? That looks to be the recommendation from that BC doc page.

@bevacqua
Copy link
Contributor

bevacqua commented Apr 4, 2016

Ah. I thought it was still there, according to `elasticsearch-js: https://github.com/elastic/elasticsearch-js/blob/master/src/lib/apis/2_3.js#L5426-L5435

I suspected some mutability bug or something like that

Where is it gone from exactly?

@bevacqua
Copy link
Contributor

bevacqua commented Apr 4, 2016

LGTM

@bevacqua
Copy link
Contributor

bevacqua commented Apr 4, 2016

One comment I have here though, is that we should really handle the error.

Maybe:

if (error) {
  console.error(error);
  reject(error);
  return;
}

@w33ble
Copy link
Contributor

w33ble commented Apr 4, 2016

This LGTM, based on the docs and the fact that I successfully exported 170 saved objects. :shipit:

@epixa epixa merged commit a7ff5b0 into elastic:master Apr 4, 2016
bevacqua added a commit to bevacqua/kibana that referenced this pull request Apr 4, 2016
@spalger spalger deleted the fix/exportAll branch October 18, 2019 17:37
cee-chen added a commit that referenced this pull request May 31, 2023
## Summary

`@elastic/eui@80.0.0` ⏩ `@elastic/eui@81.0.0`

---

## [`81.0.0`](https://github.com/elastic/eui/tree/v81.0.0)

- Added ability to set `options.checked` to "mixed" in `EuiSelectable`
([#6774](elastic/eui#6774))

**Bug fixes**

- Portalled components (e.g. `EuiPopover`, `EuiModal`, `EuiFlyout`) will
correctly inherit text color from its nearest `EuiThemeProvider` parent.
`<EuiText color="default">` is no longer needed.
([#6775](elastic/eui#6775))

**Breaking changes**

- `EuiSelectable` no longer renders a `data-test-selected` attribute on
its list items. Use the `aria-checked` property instead
([#6774](elastic/eui#6774))
- Nested `EuiThemeProvider`s now render a wrapping `<span>` element in
order to correctly set the inherited text `color` of all descendants.
`<EuiText color="default">` is no longer needed.
([#6775](elastic/eui#6775))

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance Chen <constance.chen@elastic.co>
sloanelybutsurely pushed a commit to sloanelybutsurely/kibana that referenced this pull request Jun 6, 2023
## Summary

`@elastic/eui@80.0.0` ⏩ `@elastic/eui@81.0.0`

---

## [`81.0.0`](https://github.com/elastic/eui/tree/v81.0.0)

- Added ability to set `options.checked` to "mixed" in `EuiSelectable`
([elastic#6774](elastic/eui#6774))

**Bug fixes**

- Portalled components (e.g. `EuiPopover`, `EuiModal`, `EuiFlyout`) will
correctly inherit text color from its nearest `EuiThemeProvider` parent.
`<EuiText color="default">` is no longer needed.
([elastic#6775](elastic/eui#6775))

**Breaking changes**

- `EuiSelectable` no longer renders a `data-test-selected` attribute on
its list items. Use the `aria-checked` property instead
([elastic#6774](elastic/eui#6774))
- Nested `EuiThemeProvider`s now render a wrapping `<span>` element in
order to correctly set the inherited text `color` of all descendants.
`<EuiText color="default">` is no longer needed.
([elastic#6775](elastic/eui#6775))

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance Chen <constance.chen@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants