mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Change usage from `_source: 'true'` to `_source: true`. Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
This commit is contained in:
parent
d417d0a97a
commit
4dd3907d91
3 changed files with 4 additions and 4 deletions
|
@ -121,7 +121,7 @@ describe('esArchiver: createGenerateDocRecordsStream()', () => {
|
|||
"calls": Array [
|
||||
Array [
|
||||
Object {
|
||||
"_source": "true",
|
||||
"_source": true,
|
||||
"index": "bar",
|
||||
"query": undefined,
|
||||
"rest_total_hits_as_int": true,
|
||||
|
@ -136,7 +136,7 @@ describe('esArchiver: createGenerateDocRecordsStream()', () => {
|
|||
],
|
||||
Array [
|
||||
Object {
|
||||
"_source": "true",
|
||||
"_source": true,
|
||||
"index": "foo",
|
||||
"query": undefined,
|
||||
"rest_total_hits_as_int": true,
|
||||
|
|
|
@ -38,7 +38,7 @@ export function createGenerateDocRecordsStream({
|
|||
index,
|
||||
scroll: SCROLL_TIMEOUT,
|
||||
size: SCROLL_SIZE,
|
||||
_source: 'true',
|
||||
_source: true,
|
||||
query,
|
||||
rest_total_hits_as_int: true,
|
||||
},
|
||||
|
|
|
@ -1825,7 +1825,7 @@ export class SavedObjectsRepository {
|
|||
index: this.getIndexForType(type),
|
||||
refresh,
|
||||
require_alias: true,
|
||||
_source: 'true',
|
||||
_source: true,
|
||||
body: {
|
||||
script: {
|
||||
source: `
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue