ResultHighlight
Home > @backstage/plugin-search-common
> ResultHighlight
Metadata for result relevant document fields with matched terms highlighted via wrapping in associated pre/post tags. The UI is expected to parse these field excerpts by replacing wrapping tags with applicable UI elements for rendering.
Signature:
export interface ResultHighlight
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
{ [field: string]: string; } | |||
string |
Postfix tag for wrapping terms to be highlighted. | ||
string |
Prefix tag for wrapping terms to be highlighted. |