[api] add the special "" option for refresh
This commit is contained in:
@ -210,5 +210,35 @@ function (spec) {
|
|||||||
'/_delete_by_query/{task_id}/_rethrottle'
|
'/_delete_by_query/{task_id}/_rethrottle'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
version: '>=5.0.0',
|
||||||
|
mergeConcatParams: {
|
||||||
|
bulk: {
|
||||||
|
refresh: {
|
||||||
|
options: ['']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
create: {
|
||||||
|
refresh: {
|
||||||
|
options: ['']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
index: {
|
||||||
|
refresh: {
|
||||||
|
options: ['']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
update: {
|
||||||
|
refresh: {
|
||||||
|
options: ['']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
delete: {
|
||||||
|
refresh: {
|
||||||
|
options: ['']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@ -41,7 +41,8 @@ api.bulk = ca({
|
|||||||
options: [
|
options: [
|
||||||
'true',
|
'true',
|
||||||
'false',
|
'false',
|
||||||
'wait_for'
|
'wait_for',
|
||||||
|
''
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
routing: {
|
routing: {
|
||||||
@ -1636,7 +1637,8 @@ api['delete'] = ca({
|
|||||||
options: [
|
options: [
|
||||||
'true',
|
'true',
|
||||||
'false',
|
'false',
|
||||||
'wait_for'
|
'wait_for',
|
||||||
|
''
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
routing: {
|
routing: {
|
||||||
@ -2408,7 +2410,8 @@ api.index = ca({
|
|||||||
options: [
|
options: [
|
||||||
'true',
|
'true',
|
||||||
'false',
|
'false',
|
||||||
'wait_for'
|
'wait_for',
|
||||||
|
''
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
routing: {
|
routing: {
|
||||||
@ -6627,7 +6630,8 @@ api.update = ca({
|
|||||||
options: [
|
options: [
|
||||||
'true',
|
'true',
|
||||||
'false',
|
'false',
|
||||||
'wait_for'
|
'wait_for',
|
||||||
|
''
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
retryOnConflict: {
|
retryOnConflict: {
|
||||||
|
|||||||
Reference in New Issue
Block a user