mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Enterprise Search] Add configurable field (#159791)
## Summary Add missing configurable field `use_text_extraction_service` to SPO native connector.
This commit is contained in:
parent
c37be07479
commit
f20705528c
1 changed files with 27 additions and 0 deletions
|
@ -937,6 +937,33 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
validations: [],
|
||||
value: '',
|
||||
},
|
||||
use_text_extraction_service: {
|
||||
default_value: false,
|
||||
depends_on: [],
|
||||
display: DisplayType.TOGGLE,
|
||||
label: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.textExtractionServiceLabel',
|
||||
{
|
||||
defaultMessage: 'Use text extraction service',
|
||||
}
|
||||
),
|
||||
options: [],
|
||||
order: 6,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
'xpack.enterpriseSearch.nativeConnectors.sharepoint_online.configuration.textExtractionServiceTooltip',
|
||||
{
|
||||
defaultMessage:
|
||||
'Requires a separate deployment of the Elastic Data Extraction Service. ' +
|
||||
'Also requires that pipeline settings disable text extraction.',
|
||||
}
|
||||
),
|
||||
type: FieldType.BOOLEAN,
|
||||
ui_restrictions: ['advanced'],
|
||||
validations: [],
|
||||
value: false,
|
||||
},
|
||||
},
|
||||
features: {
|
||||
[FeatureName.SYNC_RULES]: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue