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

Huge Search Index #351

Open
deepaksood619 opened this issue Oct 4, 2023 · 1 comment
Open

Huge Search Index #351

deepaksood619 opened this issue Oct 4, 2023 · 1 comment

Comments

@deepaksood619
Copy link

Site - http://deepaksood619.github.io/

Whenever I type anything on search, the whole search index file of 11 MB is downloaded locally, before it can search.

Can we have incremental search suggestions like first level index can only be direct page names, next level can be title or headers, and then the content.

This can be configurable too

@weareoutman
Copy link
Member

weareoutman commented Jun 19, 2024

This is known as the biggest caveat of using front-end based search. Generally we have to download all the search index files to accomplish the search work.

Your suggested approach may have some improvement on user experience, but there is a high chance that it has to download all index files.

The proper solution may be using node.js to do the search job on the sever side, instead.

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

2 participants