1
0
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:
Thomas Wilkerling
2025-03-01 14:15:10 +01:00
parent 19d9709681
commit 3f6e50a0cb
2 changed files with 11 additions and 3 deletions

View File

@@ -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,

View File

@@ -23,7 +23,7 @@
lib = new Index({
tokenize: "strict",
resolution: 1,
fastupdate: true,
fastupdate: false,
encoder: new Encoder({
assign: DefaultEncoder,
include: {