mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Formats the index mapping panel (#141516)
This commit is contained in:
parent
44ae5f7150
commit
c2b5ec8ae4
4 changed files with 15 additions and 9 deletions
|
@ -10,6 +10,7 @@ import React, { useEffect } from 'react';
|
|||
import { useActions, useValues } from 'kea';
|
||||
|
||||
import {
|
||||
EuiCode,
|
||||
EuiCodeBlock,
|
||||
EuiFlexGroup,
|
||||
EuiFlexItem,
|
||||
|
@ -21,6 +22,7 @@ import {
|
|||
} from '@elastic/eui';
|
||||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
|
||||
import { docLinks } from '../../../shared/doc_links';
|
||||
|
||||
|
@ -47,21 +49,28 @@ export const SearchIndexIndexMappings: React.FC = () => {
|
|||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={1}>
|
||||
<EuiPanel grow={false} hasShadow={false} hasBorder>
|
||||
<EuiTitle>
|
||||
<EuiTitle size="s">
|
||||
<h3>
|
||||
{i18n.translate('xpack.enterpriseSearch.content.searchIndex.mappings.title', {
|
||||
defaultMessage: 'About index mappings',
|
||||
})}
|
||||
</h3>
|
||||
</EuiTitle>
|
||||
<EuiText>
|
||||
<EuiSpacer size="s" />
|
||||
<EuiText size="s">
|
||||
<p>
|
||||
{i18n.translate('xpack.enterpriseSearch.content.searchIndex.mappings.description', {
|
||||
defaultMessage:
|
||||
'Your documents are made up of a set of fields. Index mappings give each field a type (such as `keyword`, `number`, or `date`) and additional subfields. These index mappings determine the functions available in your relevance tuning and search experience.',
|
||||
})}
|
||||
<FormattedMessage
|
||||
id="xpack.enterpriseSearch.content.searchIndex.mappings.description"
|
||||
defaultMessage="Your documents are made up of a set of fields. Index mappings give each field a type (such as {keyword}, {number}, or {date}) and additional subfields. These index mappings determine the functions available in your relevance tuning and search experience."
|
||||
values={{
|
||||
keyword: <EuiCode>keyword</EuiCode>,
|
||||
number: <EuiCode>number</EuiCode>,
|
||||
date: <EuiCode>date</EuiCode>,
|
||||
}}
|
||||
/>
|
||||
</p>
|
||||
</EuiText>
|
||||
<EuiSpacer size="s" />
|
||||
<EuiLink href={docLinks.elasticsearchMapping} target="_blank" external>
|
||||
{i18n.translate('xpack.enterpriseSearch.content.searchIndex.mappings.docLink', {
|
||||
defaultMessage: 'Learn more',
|
||||
|
|
|
@ -11160,7 +11160,6 @@
|
|||
"xpack.enterpriseSearch.content.searchIndex.domainManagementTabLabel": "Gérer les domaines",
|
||||
"xpack.enterpriseSearch.content.searchIndex.index.syncSuccess.message": "Une synchronisation a été programmée avec succès, en attente de son activation par un connecteur.",
|
||||
"xpack.enterpriseSearch.content.searchIndex.indexMappingsTabLabel": "Mappings d’index",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.description": "Vos documents sont constitués d'un ensemble de champs. Les mappings d'index donnent à chaque champ un type (tel que `keyword`, `number` ou `date`) et des champs secondaires supplémentaires. Ces mappings d'index déterminent les fonctions disponibles dans votre réglage de pertinence et votre expérience de recherche.",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.docLink": "En savoir plus",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.title": "À propos des mappings d’index",
|
||||
"xpack.enterpriseSearch.content.searchIndex.nav.documentsTitle": "Documents",
|
||||
|
|
|
@ -11146,7 +11146,6 @@
|
|||
"xpack.enterpriseSearch.content.searchIndex.domainManagementTabLabel": "ドメインを管理",
|
||||
"xpack.enterpriseSearch.content.searchIndex.index.syncSuccess.message": "同期が正常にスケジュールされました。コネクターによって取得されるのを待機しています",
|
||||
"xpack.enterpriseSearch.content.searchIndex.indexMappingsTabLabel": "インデックスマッピング",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.description": "ドキュメントには、複数のフィールドのセットがあります。インデックスマッピングでは、各フィールドに型(「キーワード」、「数値」、「日付」など)と、追加のサブフィールドが指定されます。これらのインデックスマッピングでは、関連性の調整と検索エクスペリエンスで使用可能な機能が決まります。",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.docLink": "詳細",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.title": "インデックスマッピングについて",
|
||||
"xpack.enterpriseSearch.content.searchIndex.nav.documentsTitle": "ドキュメント",
|
||||
|
|
|
@ -11162,7 +11162,6 @@
|
|||
"xpack.enterpriseSearch.content.searchIndex.domainManagementTabLabel": "管理域",
|
||||
"xpack.enterpriseSearch.content.searchIndex.index.syncSuccess.message": "已成功计划同步,等待连接器提取",
|
||||
"xpack.enterpriseSearch.content.searchIndex.indexMappingsTabLabel": "索引映射",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.description": "您的文档由一组字段构成。索引映射为每个字段提供类型(例如,`关键字`、`数字`或`日期`)和其他子字段。这些索引映射确定您的相关性调整和搜索体验中可用的功能。",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.docLink": "了解详情",
|
||||
"xpack.enterpriseSearch.content.searchIndex.mappings.title": "关于索引映射",
|
||||
"xpack.enterpriseSearch.content.searchIndex.nav.documentsTitle": "文档",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue