Skip to content

SearchResultMapping

**@searchcraft/core**


@searchcraft/core / SearchResultMapping

SearchResultMapping: object

A data type representing the mapping of index fields, for the purpose of rendering them in search result item.

Type declaration

delimiter?

optional delimiter: string

The delimiter used to join them.

fieldNames

fieldNames: `SearchResultFieldName`[]

The fields to map to.