aboutsummaryrefslogtreecommitdiff

Index Search

A project to index all files in a subdirectory to make their contents searchable in a fast manner.

The following filetypes are currently supported: - Raw Text File (.txt) - Word (.docx) - PowerPoint (.pptx) - Excel (.xlsx) - Open Document Text (.odt) - Open Document Presentation (.odp) - PDF (.pdf)

Building from Souce

Just clone the repository and build it with cargo:

$ git clone https://git.nathanreiner.xyz/indexsearch
$ cd indexsearch
$ cargo build --release

The binary can be found under ./target/release/indexsearch

How to Index A directory

To generate a use the -g flag:

$ indexsearch -g index.idxs /path/to/directory

Using the Index

$ indexsearch -s index.idxs word1 word2 ...