Closed sidugboe closed 3 years ago
Hi @sidugboe, Try to use only one of the Index, Document, or the Worker according to your requirement. You do not need all three together.
Ex: https://codesandbox.io/s/indexing-number-fields-flexsearch-9e790?file=/src/index.js
Also, read the documentation carefully.
Thank you very much.
I've extended the readme: https://github.com/nextapps-de/flexsearch#load-library The issue is you probably just need one of the 3 types of indexes, the document index needs a config object passed as first parameter, that throws your error.
Hello, I am new to flexsearch. I am currently experiencing errors when i initially try to use it.
All I am doing right now is the following =>
but I get the following error =>
The only time i dont get this error is when i take out the worker and document initializations. Perhaps I am not using the correct syntax for those two?