We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lunr.th.js
When initializing lunr.th.js, the following error occurs: TypeError: Cannot read properties of undefined (reading 'init').
TypeError: Cannot read properties of undefined (reading 'init')
This seems to be happening to languages that try to use wordcut.js, where the error occurs as the init() function gets called, as shown in this block:
wordcut.js
init()
var segmenter = lunr.wordcut; segmenter.init();
Personally, I think that the wordcut.js is not getting imported into the respective languages and with absolute import, no error seems to occur:
lunr.wordcut = require('./wordcut'); var segmenter = lunr.wordcut; segmenter.init();
Would love to get some advice or feedback if this would be the right approach to solve the issue!
The text was updated successfully, but these errors were encountered:
I'm having the same problem with lunr.hi.js
lunr.hi.js
Sorry, something went wrong.
No branches or pull requests
When initializing
lunr.th.js
, the following error occurs:TypeError: Cannot read properties of undefined (reading 'init')
.This seems to be happening to languages that try to use
wordcut.js
, where the error occurs as theinit()
function gets called, as shown in this block:Personally, I think that the
wordcut.js
is not getting imported into the respective languages and with absolute import, no error seems to occur:Would love to get some advice or feedback if this would be the right approach to solve the issue!
The text was updated successfully, but these errors were encountered: