Skip to content

Full-Text Index of all files #3

@markfeit

Description

@markfeit

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions