Skip to content
New issue

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

What is Out of order word insertion? #507

Open
ayush-sharma opened this issue Dec 14, 2021 · 1 comment
Open

What is Out of order word insertion? #507

ayush-sharma opened this issue Dec 14, 2021 · 1 comment

Comments

@ayush-sharma
Copy link

ayush-sharma commented Dec 14, 2021

While populating a pre-built index I'm getting the following error:

Uncaught Error: Out of order word insertion
    insert https://unpkg.com/lunr/lunr.js:1771
    load https://unpkg.com/lunr/lunr.js:2305
    <anonymous> http://localhost:4000/static/js/script-search.js:89
    EventListener.handleEvent* http://localhost:4000/static/js/script-search.js:80

The code I'm using to populate the index:

var idx = lunr.Index.load(JSON.parse(window.my_big_index));

I wasn't able to find any info googling around.
What does this error mean, and what's the best way to fix it?

Thanks.

@ayush-sharma
Copy link
Author

Hi all,

I'm still unable to diagnose this issue, and I'm trying random things since I don't know what its about.

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant