A lightning-fast search API that fits effortlessly into your apps, websites, and workflow
Go to file
2018-09-27 16:59:41 +02:00
raptor feat: Use the new Tokenizer in the csv-indexer 2018-09-27 16:59:41 +02:00
raptor-http fix: Lowercase the query 2018-09-26 15:08:42 +02:00
raptor-indexer feat: Add a way to index from a csv file 2018-09-24 16:53:33 +02:00
raptor-indexer-csv feat: Use the new Tokenizer in the csv-indexer 2018-09-27 16:59:41 +02:00
raptor-search feat: Allow raptor-search to accept stop-wrds by argument 2018-09-24 17:25:24 +02:00
.gitignore feat: Allow the user to specify options by argument 2018-09-20 13:01:08 +02:00
Cargo.lock feat: Allow raptor-search to accept stop-wrds by argument 2018-09-24 17:25:24 +02:00
Cargo.toml feat: Add a way to index from a csv file 2018-09-24 16:53:33 +02:00
deploy-ugly.sh chore: Add an ugly script to deploy easily 2018-09-25 15:09:51 +02:00
LICENSE Initial commit 2018-05-05 10:16:18 +02:00
README.md doc: Add indexation and search usage instructions 2018-09-15 21:25:04 +02:00
remote-compile.sh feat: Add a simple script to remote compile 2018-09-26 16:16:57 +02:00

raptor-rs

Raptor, the new RISE

Usage

First you need to generate the index files.

$ cargo build --release --bin raptor-indexer
$ time ./target/release/raptor-indexer products.json_lines

Once the command finished indexing you will have 3 files that compose the index:

  • The xxx.map represent the fst map.
  • The xxx.idx represent the doc indexes matching the words in the map.
  • The xxx.sst is a file that contains all the fields and the values asociated with it, it is passed to the internal RocksDB.

Now you can easily use raptor-search or raptor-http with only the prefix name of the files. (e.g. relaxed-colden).

$ cargo run --bin raptor-search -- relaxed-colden
$ cargo run --bin raptor-http -- relaxed-colden

Note: If you have performance issues run the searcher in release mode (i.e. --release).