Use minisearch's new result.terms
This commit is contained in:
@@ -363,7 +363,7 @@ export class Omnisearch {
|
|||||||
const foundWords = [
|
const foundWords = [
|
||||||
// Matching terms from the result,
|
// Matching terms from the result,
|
||||||
// do not necessarily match the query
|
// do not necessarily match the query
|
||||||
...Object.keys(result.match),
|
...result.terms,
|
||||||
|
|
||||||
// Quoted expressions
|
// Quoted expressions
|
||||||
...query.getExactTerms(),
|
...query.getExactTerms(),
|
||||||
|
|||||||
Reference in New Issue
Block a user