Result
Home > @backstage/plugin-search-common
> Result
Signature:
export interface Result<TDocument extends SearchDocument>
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
TDocument |
The raw value of the document, as indexed. | ||
(Optional) Optional result highlight. Useful for improving the search result display/experience. | |||
number |
(Optional) Optional result rank, where 1 is the first/top result returned. Useful for understanding search effectiveness in analytics. | ||
string |
The "type" of the given document. See: DocumentCollatorFactory.type |