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

How many pages or size of content can this lib handle? #435

Open
tisonkun opened this issue Jul 12, 2024 · 1 comment
Open

How many pages or size of content can this lib handle? #435

tisonkun opened this issue Jul 12, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@tisonkun
Copy link

AFAIK local search runs within the browser and thus is limited with the resource available in browser.

Is there any number about how many pages or sizes of content this lib can handle?

For example, Pagefind said:

The goal of Pagefind is that websites with tens of thousands of pages should be searchable by someone in their browser, while consuming as little bandwidth as possible. Pagefind’s search index is split into chunks, so that searching in the browser only ever needs to load a small subset of the search index. Pagefind can run a full-text search on a 10,000 page site with a total network payload under 300kB, including the Pagefind library itself. For most sites, this will be closer to 100kB.

@weareoutman
Copy link
Member

You're correct, local search has such limitations. Currently we have no such recommended number, would like to figure it out later.

Making the search index splitted like Pagefind you mentioned above, seems to be a nice approach for us too.

@weareoutman weareoutman added the help wanted Extra attention is needed label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants