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