Backstage
    Preparing search index...

    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.

    interface ResultHighlight {
        fields: { [field: string]: string };
        postTag: string;
        preTag: string;
    }
    Index

    Properties

    Properties

    fields: { [field: string]: string }

    Type Declaration

    • [field: string]: string

      Matched document fields and associated excerpts containing highlighted terms wrapped in preTag and postTag to be parsed and rendered in the UI.

    postTag: string

    Postfix tag for wrapping terms to be highlighted.

    preTag: string

    Prefix tag for wrapping terms to be highlighted.