Skip to content

KeySearchResult

A single result from multi-key fuzzy search.

Property Type Description
index number The index of the item in the original input array.
keyScores number[] Per-key scores in the same order as the input keys: how well each key matches the query (with matchMode: 'crossKey', the share of the query it matches). A score of 0.0 means the item did not match on that key.
score number The combined score (0.0-1.0) of the key scores, as set by scoreMode (by default the weighted mean over all keys).