config: add search web worker
This commit is contained in:
parent
1aa8b7231f
commit
b1de433fb5
|
@ -67,6 +67,8 @@ Source:
|
|||
var index = new FlexSearch({
|
||||
preset: 'score',
|
||||
cache: true,
|
||||
async: true,
|
||||
worker: 4,
|
||||
doc: {
|
||||
id: 'id',
|
||||
field: [
|
||||
|
|
Loading…
Reference in New Issue