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

Client side web search? #1413

Open
chrisspen opened this issue Jul 10, 2022 · 2 comments
Open

Client side web search? #1413

chrisspen opened this issue Jul 10, 2022 · 2 comments

Comments

@chrisspen
Copy link

Does Tantivy support client side web search, specifically through lazy loading or incrementally loading slices of an index?

I see in the docs it supports incremental index creation, but there's no mention of client side search. Is this only meant to run on the server side?

I have a large (~1 million) collection of documents that I want to make searchable via the browser with no search server, and it's impractical for the user to load a hundreds-of-MB search index.

@ChillFish8
Copy link
Collaborator

Realistically, you'd probably have a hard time either way with the amount of data required, it'd simply be easier using something like a Lambda if you really didn't want a dedicated server running.

The requirement is basically, you need WASM support which isn't supported right out of the box: see #541 and #1067

Another example that might be of some interest to you https://jakejscott.com/full-text-search-for-dynamodb-using-lambda-efs-tantivy-and-rust

@chrisspen
Copy link
Author

I was hoping to avoid any proprietary tech too, aside from large scale cheap storage like S3.

Since most client-side search uses static index files, I was hoping to find something that supports sharding the indexes based on keyword range, and then loading them dynamically based on the search terms.

I'm working on a proof of concept on my own, but I find it hard to believe I'm the only one who would find this useful. I've used DynamoDB and Lambda, and they're good for certain things, but they're still a lot more expensive than loading simple static index files and letting the client due the heavy lifting.

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