diff options
| -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 ... +``` |