Interface: VocabularySearchResult
Defined in: src/vocabulary/types.ts:113
A single search result returned by VocabularyService.search.
Example
const result: VocabularySearchResult = {
term: 'supplier',
synonyms: ['vendor', 'vendorId'],
confidence: 0.95,
domain: 'procurement',
sapField: 'LIFNR',
selector: { controlType: 'sap.m.Input' },
};
Properties
confidence
readonlyconfidence:number
Defined in: src/vocabulary/types.ts:119
Confidence score from 0.0 (no match) to 1.0 (exact match).
domain
readonlydomain:SAPDomain
Defined in: src/vocabulary/types.ts:121
The SAP domain in which the match was found.
sapField?
readonlyoptionalsapField:string
Defined in: src/vocabulary/types.ts:123
SAP ABAP field name if available.
selector?
readonlyoptionalselector:UI5Selector
Defined in: src/vocabulary/types.ts:125
UI5 selector for the matched term if available.
synonyms
readonlysynonyms:string[]
Defined in: src/vocabulary/types.ts:117
Synonyms of the matched term.
term
readonlyterm:string
Defined in: src/vocabulary/types.ts:115
The matched canonical term name.