From c37b53ff5b6b18b9ff00a42fe69857aa1d3e66ce Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Sat, 1 Mar 2025 13:32:07 +0100 Subject: [PATCH] disable remove by indices --- bench.js | 3 ++- test/flexsearch-0.8.0/index.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bench.js b/bench.js index afd1182..e2a1649 100644 --- a/bench.js +++ b/bench.js @@ -93,7 +93,8 @@ queue.push({ }, prepare: null, fn: function(){ - lib.remove(_index++); + //lib.remove(_index++); + lib.remove(text_data); }, end: null, complete: null, diff --git a/test/flexsearch-0.8.0/index.html b/test/flexsearch-0.8.0/index.html index d84d0fe..f5bcddf 100644 --- a/test/flexsearch-0.8.0/index.html +++ b/test/flexsearch-0.8.0/index.html @@ -23,7 +23,7 @@ lib = new Index({ tokenize: "strict", resolution: 1, - fastupdate: false, + fastupdate: true, encoder: new Encoder({ assign: DefaultEncoder, include: {