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

Is it possible to support lazy loading of index data? #70

Open
CyanSalt opened this issue Mar 23, 2023 · 1 comment
Open

Is it possible to support lazy loading of index data? #70

CyanSalt opened this issue Mar 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@CyanSalt
Copy link

In my site, the search function makes no sense for a part of users, but adding this plugin causes all users to load the index data. Especially in the CJK lang, the index data may be very huge.

Is it possible to provide an option to support loading index data when searching is first executed?

@emersonbottero
Copy link
Owner

It may be..
But them the first search would be slower than the rest...
But seems like a good idea if I provide an message or loading indicator...

If you use forward in the tokenizer the size should be smaller

@emersonbottero emersonbottero added the enhancement New feature or request label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants