Interface: VocabularySearchResult
Defined in: src/vocabulary/types.ts:104
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:110
Confidence score from 0.0 (no match) to 1.0 (exact match).
domain​
readonlydomain:SAPDomain
Defined in: src/vocabulary/types.ts:112
The SAP domain in which the match was found.
sapField?​
readonlyoptionalsapField:string
Defined in: src/vocabulary/types.ts:114
SAP ABAP field name if available.
selector?​
readonlyoptionalselector:UI5Selector
Defined in: src/vocabulary/types.ts:116
UI5 selector for the matched term if available.
synonyms​
readonlysynonyms:string[]
Defined in: src/vocabulary/types.ts:108
Synonyms of the matched term.
term​
readonlyterm:string
Defined in: src/vocabulary/types.ts:106
The matched canonical term name.