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

API for adding items to index #379

Closed
tomas opened this issue Apr 2, 2020 · 3 comments
Closed

API for adding items to index #379

tomas opened this issue Apr 2, 2020 · 3 comments
Labels

Comments

@tomas
Copy link

tomas commented Apr 2, 2020

Hi, I'm trying to index a big collection of items and ideally I'd want to add them one-by-one as I stream them instead of having to wait until the stream finishes. Is this possible? Eg:

const index = new Fuse(options)
stream.on('item', index.add)
@krisk krisk added the question label Apr 3, 2020
@amir20
Copy link

amir20 commented Apr 29, 2020

I also have this question. Is it possible to update the index after fuse has been created?

@krisk
Copy link
Owner

krisk commented May 4, 2020

See: #412

It’s in progress. Will close this issue, so please follow the linked one above 😄

@krisk krisk closed this as completed May 4, 2020
@tomas
Copy link
Author

tomas commented May 4, 2020

Good one. Thanks!

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

No branches or pull requests

3 participants