feat(Elasticsearch Node): Add bulk operations for Elasticsearch (#9940)
This commit is contained in:
@@ -81,6 +81,28 @@ export const documentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
name: 'options',
|
||||
type: 'collection',
|
||||
placeholder: 'Add Option',
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['document'],
|
||||
operation: ['delete'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Bulk Delete',
|
||||
name: 'bulkOperation',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to use the bulk operation to delete the document/s',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
// ----------------------------------------
|
||||
// document: get
|
||||
@@ -644,6 +666,13 @@ export const documentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Bulk Create',
|
||||
name: 'bulkOperation',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to use the bulk operation to create the document/s',
|
||||
},
|
||||
{
|
||||
displayName: 'Pipeline ID',
|
||||
name: 'pipeline',
|
||||
@@ -802,6 +831,13 @@ export const documentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Bulk Update',
|
||||
name: 'bulkOperation',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Whether to use the bulk operation to update the document/s',
|
||||
},
|
||||
{
|
||||
displayName: 'Refresh',
|
||||
name: 'refresh',
|
||||
|
||||
Reference in New Issue
Block a user