Skip to main content
Version: 1.x

Interface: VocabularySearchResult

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​

readonly confidence: number

Confidence score from 0.0 (no match) to 1.0 (exact match).


domain​

readonly domain: SAPDomain

The SAP domain in which the match was found.


sapField?​

readonly optional sapField?: string

SAP ABAP field name if available.


selector?​

readonly optional selector?: UI5Selector

UI5 selector for the matched term if available.


synonyms​

readonly synonyms: string[]

Synonyms of the matched term.


term​

readonly term: string

The matched canonical term name.