mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-03 10:53:41 +02:00
fix bug: When the threshold of search options is smaller than the threshold of create options, there is a exception thrown.
This commit is contained in:
@@ -1883,7 +1883,7 @@
|
|||||||
|
|
||||||
for(let z = 0; z < (resolution - threshold); z++){
|
for(let z = 0; z < (resolution - threshold); z++){
|
||||||
|
|
||||||
if((map_value = map[z][value])){
|
if((map_value = (map[z] && map[z][value]))){
|
||||||
|
|
||||||
map_check[count++] = map_value;
|
map_check[count++] = map_value;
|
||||||
map_found = true;
|
map_found = true;
|
||||||
|
Reference in New Issue
Block a user