diff --git a/src/search/omnisearch.ts b/src/search/omnisearch.ts index a4475c1..8684d5a 100644 --- a/src/search/omnisearch.ts +++ b/src/search/omnisearch.ts @@ -363,7 +363,7 @@ export class Omnisearch { const foundWords = [ // Matching terms from the result, // do not necessarily match the query - ...Object.keys(result.match), + ...result.terms, // Quoted expressions ...query.getExactTerms(),