Minor fixes

This commit is contained in:
Iván Ovejero 2021-06-07 09:12:50 +02:00
parent d1ed971531
commit 529dc3f460

View file

@ -38,7 +38,7 @@ export const documentOperations = [
value: 'update', value: 'update',
}, },
], ],
default: 'delete', default: 'get',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ] as INodeProperties[];
@ -197,7 +197,7 @@ export const documentFields = [
name: 'returnAll', name: 'returnAll',
type: 'boolean', type: 'boolean',
default: false, default: false,
description: 'Return all results.', description: 'If all results should be returned or only up to a given limit.',
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@ -214,7 +214,7 @@ export const documentFields = [
name: 'limit', name: 'limit',
type: 'number', type: 'number',
default: 50, default: 50,
description: 'The number of results to return.', description: 'The maximum number of results to return.',
typeOptions: { typeOptions: {
minValue: 1, minValue: 1,
}, },
@ -314,7 +314,7 @@ export const documentFields = [
value: 'open', value: 'open',
}, },
], ],
default: 'all', default: 'open',
}, },
{ {
displayName: 'Explain', displayName: 'Explain',
@ -347,7 +347,7 @@ export const documentFields = [
{ {
displayName: 'Pre-Filter Shard Size', displayName: 'Pre-Filter Shard Size',
name: 'pre_filter_shard_size', name: 'pre_filter_shard_size',
description: 'Define a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting<br>if the number of shards the search request expands to exceeds the threshold.', description: 'Define a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting.<br>Only used if the number of shards the search request expands to exceeds the threshold.',
type: 'number', type: 'number',
typeOptions: { typeOptions: {
minValue: 1, minValue: 1,