diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-06 12:55:09 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-06 12:55:09 +0200 |
| commit | d49ea4337418ad21015651a8e021f912b9a3bc7f (patch) | |
| tree | c595249e68bd3f05590eef7512fb14679d896707 /README.md | |
| parent | 8ff994ab8419a243b051a07feabefdad3a4e1e3b (diff) | |
update readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -2,3 +2,38 @@ 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`: + +```sh +$ 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: + +```sh +$ indexsearch -g index.idxs /path/to/directory +``` + +## Using the Index + +```sh +$ indexsearch -s index.idxs word1 word2 ... +``` |