duplicacy-scripts icon indicating copy to clipboard operation
duplicacy-scripts copied to clipboard

Full-Text Index of all files

Open markfeit opened this issue 5 years ago • 0 comments

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

markfeit avatar Dec 28 '18 14:12 markfeit