Use minisearch's new result.terms

This commit is contained in:
Simon Cambier
2024-01-23 07:51:56 +01:00
parent 6424d6f7b9
commit c38ec4e9b8

View File

@@ -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(),