Skip to content

[Suggestion]: persist results to file #834

Description

@fdncred

Which fff frontend(s)?

Core or Rust crate

What problem are you trying to solve?

In nushell, I originally implemented idx export and idx import. It was kind of hacky so I removed it. It would be great to be able to index millions of files, save the index, exit the shell, come back in and restore the index and be able to search it normally. This isn't really a probelm with small groups of files because fff is so fast but when there are large groups of files, the ability to restore and index could be helpful.

Proposed solution

It would be nice to have some api that I could programmatically call from rust to dump the index to a file and another api call to restore from that index from file to searchable index. I keep getting asked for this. Here's the latest request nushell/nushell#18929

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsenhancementNew feature or requesttriaged

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions