Closed develar closed 3 years ago
Here https://github.com/nextapps-de/flexsearch/blob/08c5baf832738d5fa218b2edccb504789f4497ad/src/document.js#L249 we don't check that value is null or undefined, but is_array method expects not-null value.
is_array
I suggest to use Array.isArray instead of own util method. This standard method is widely supported.
Thanks a lot for the amazing lib! I stumbled upon the fact that every other lib produces incorrect (prefix search) and not expected (too many results) results, but flexsearch result set is what logically expected.
flexsearch
Thanks for the report, it is fixed in v0.7.11
Here https://github.com/nextapps-de/flexsearch/blob/08c5baf832738d5fa218b2edccb504789f4497ad/src/document.js#L249 we don't check that value is null or undefined, but
is_array
method expects not-null value.I suggest to use Array.isArray instead of own util method. This standard method is widely supported.
Thanks a lot for the amazing lib! I stumbled upon the fact that every other lib produces incorrect (prefix search) and not expected (too many results) results, but
flexsearch
result set is what logically expected.