We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08219ef commit ecc7934Copy full SHA for ecc7934
packages/autocomplete-client/src/search/fetchMeilisearchResults.ts
@@ -140,7 +140,7 @@ function calculateHighlightMetadata(
140
// Determine match level:
141
// - 'none' if no matches
142
// - 'partial' if some matches but not fully highlighted
143
- // - 'full' if all text is fully highlighted
+ // - 'full' if the highlighted text is the entire field value content
144
let matchLevel: 'none' | 'partial' | 'full' = 'none'
145
if (matches.length > 0) {
146
matchLevel = cleanValue.includes(query) ? 'full' : 'partial'
0 commit comments