tantivy
tantivy copied to clipboard
Split segments / Export Segments / Import Segments
Is there a way to extract specific documents from a segment to its own segment?
Is there a way to export segments from one Index to another?
Is there a way to import segments from another index?
Motivating usecase:
I want to create a sort of "cloud storage" over s3. Each user can specify their own bucket and each user has their own personal tantivy index for their files. Each user adds the documents to their own index prior to uploading them to s3.
Sharing files on s3 to other users will be done via acls.
I would like to be able to export the just the result of indexing these files to be shared to the user user, so that they can just import the index, and do not have to download the file and reindex it themselves.