Skip to content

Commit 6cdbcef

Browse files
committed
ISPN-16490 Index metamodel view with analyser
1 parent d11c55d commit 6cdbcef

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

src/app/IndexManagement/ViewMetamodel.tsx

+14-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ const ViewMetamodel = (props: {
3333
multiValuedInRoot: t('caches.index.metamodel.column-multi-valued-root'),
3434
type: t('caches.index.metamodel.column-type'),
3535
projectionType: t('caches.index.metamodel.column-projection-type'),
36-
argumentType: t('caches.index.metamodel.column-argument-type')
36+
argumentType: t('caches.index.metamodel.column-argument-type'),
37+
analyzer: t('caches.index.metamodel.column-analyzer')
3738
};
3839

3940
const displayEnabled = (enabled: boolean) => {
@@ -96,6 +97,17 @@ const ViewMetamodel = (props: {
9697
<Tr>
9798
<Th>{columnNames.name}</Th>
9899
<Th>{columnNames.type}</Th>
100+
<Th
101+
info={{
102+
popover: t('caches.index.metamodel.column-analyzer-tooltip'),
103+
popoverProps: {
104+
headerContent: t('caches.index.metamodel.column-analyzer')
105+
}
106+
}}
107+
colSpan={1}
108+
>
109+
{columnNames.analyzer}
110+
</Th>
99111
<Th
100112
info={{
101113
popover: t('caches.index.metamodel.column-multi-valued-tooltip'),
@@ -169,6 +181,7 @@ const ViewMetamodel = (props: {
169181
<Tr key={field.name}>
170182
<Td dataLabel={columnNames.name}>{field.name}</Td>
171183
<Td dataLabel={columnNames.type}>{field.type}</Td>
184+
<Td dataLabel={columnNames.analyzer}>{field.analyzer}</Td>
172185
<Td dataLabel={columnNames.multiValued}>{displayEnabled(field.multiValued)}</Td>
173186
<Td dataLabel={columnNames.multiValuedInRoot}>{displayEnabled(field.multiValuedInRoot)}</Td>
174187
<Td dataLabel={columnNames.aggregable}>{displayEnabled(field.aggregable)}</Td>

src/app/assets/languages/en.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,9 @@
716716
"column-multi-valued-root-tooltip": "A multi-valued in root is a field that can hold multiple values at the top level of a document or object.",
717717
"column-type": "Type",
718718
"column-projection-type": "Projection type",
719-
"column-argument-type": "Argument type"
719+
"column-argument-type": "Argument type",
720+
"column-analyzer": "Analyzer",
721+
"column-analyzer-tooltip": "An \"Analyzer\" is a tool that processes text data by breaking it into smaller units (tokens) and applying filters (like lowercasing or removing stopwords) to make it easier to search and index."
720722
}
721723
},
722724
"tracing": {

0 commit comments

Comments
 (0)