-
Notifications
You must be signed in to change notification settings - Fork 12
Description
hello everyone, thanks for your work on this gem.
I'm looking forward to use it but our use-case is a bit different: we need to filter ~100 contents at a time, then we delete the index and go with the other 100 contents, and so on for thousands of times a day.
I was wondering, is it possible to use in memory indexing instead of writing on file?
I saw that tantivy supports this use-case
https://docs.rs/tantivy/latest/tantivy/struct.Index.html#method.create_in_ram
I've never worked with Ruby and Rust extensions but I can dive into a solution if you tell me that's feasible
UPDATE: I've been playing a bit with the code and it seems that this change does most of the job
a-chris@9c47fc0
Is it something you would like to have on tantiny? Maybe making it configurable while creating a new Index object?