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

Full-Text Index of all files #3

Open
markfeit opened this issue Dec 28, 2018 · 0 comments
Open

Full-Text Index of all files #3

markfeit opened this issue Dec 28, 2018 · 0 comments

Comments

@markfeit
Copy link
Owner

Develop a system for indexing snapshot contents using a full-text indexer such as Xapian. Examples:

Find a specific file within a date range:

% bin/find-file local/home/bob/.bashrc date:2017..2018
Snapshot 2106  2018-05-12 02:23  local/home/bob/.bashrc
Snapshot 1255  2017-01-27 01:19  local/home/bob/.bashrc

Find files by text occurring in the name:

% bin/find-file .bashrc
Snapshot 2106  2018-05-12 02:23  local/home/bob/.bashrc
Snapshot 1957  2017-12-25 01:54  local/home/steve/.bashrc
Snapshot 1255  2017-01-27 01:19  local/home/bob/.bashrc

There will need to be three operations on the index:

  • Initial build from all snapshot data
  • Add data from new snapshot(s)
  • Remove data for snapshots that no longer exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant