mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-03 02:42:53 +02:00
disable not supported text cases
This commit is contained in:
12
bench.js
12
bench.js
@@ -45,6 +45,7 @@ else{
|
||||
// text_data.push('zero one two three four five six seven eight nine ten');
|
||||
// }
|
||||
|
||||
/*
|
||||
queue.push({
|
||||
name: "add",
|
||||
init: null,
|
||||
@@ -97,14 +98,21 @@ queue.push({
|
||||
lib.remove(text_data);
|
||||
},
|
||||
end: null,
|
||||
complete: null,
|
||||
complete: function(){
|
||||
lib.init();
|
||||
lib.add(text_data);
|
||||
},
|
||||
cycle: 1,
|
||||
count: term_length
|
||||
});
|
||||
*/
|
||||
|
||||
queue.push({
|
||||
name: "query-single",
|
||||
init: null,
|
||||
init: function(){
|
||||
lib.init();
|
||||
lib.add(text_data);
|
||||
},
|
||||
test: null,
|
||||
start: null,
|
||||
prepare: null,
|
||||
|
@@ -23,7 +23,7 @@
|
||||
lib = new Index({
|
||||
tokenize: "strict",
|
||||
resolution: 1,
|
||||
fastupdate: true,
|
||||
fastupdate: false,
|
||||
encoder: new Encoder({
|
||||
assign: DefaultEncoder,
|
||||
include: {
|
||||
|
Reference in New Issue
Block a user