Set tokenize forward for FlexSearch.js.
This commit is contained in:
parent
5452538a5d
commit
cdb23e701d
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ import * as params from '@params';
|
||||||
index: ['title','tags','content','date'],
|
index: ['title','tags','content','date'],
|
||||||
store: ['title','summary','date','permalink']
|
store: ['title','summary','date','permalink']
|
||||||
}
|
}
|
||||||
|
tokenize: 'forward'
|
||||||
});
|
});
|
||||||
|
|
||||||
function showResults(items) {
|
function showResults(items) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue