Use minisearch's new result.terms
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user