Go to file
2018-10-11 16:09:28 +02:00
examples feat: Allow querying ranges in the results list 2018-10-11 16:09:28 +02:00
misc chore: Make the repo use examples and keep the library 2018-10-09 18:23:35 +02:00
src feat: Allow querying ranges in the results list 2018-10-11 16:09:28 +02:00
.gitignore feat: Allow the user to specify options by argument 2018-09-20 13:01:08 +02:00
Cargo.lock chore: Make the repo use examples and keep the library 2018-10-09 18:23:35 +02:00
Cargo.toml chore: Make the repo use examples and keep the library 2018-10-09 18:23:35 +02:00
deploy-ugly.sh chore: Add an ugly script to deploy easily 2018-09-25 15:09:51 +02:00
en.stopwords.txt chore: Make the repo use examples and keep the library 2018-10-09 18:23:35 +02:00
fr.stopwords.txt chore: Make the repo use examples and keep the library 2018-10-09 18:23:35 +02:00
LICENSE Initial commit 2018-05-05 10:16:18 +02:00
no.stopwords.txt chore: Make the repo use examples and keep the library 2018-10-09 18:23:35 +02:00
README.md doc: Update the README for the new CLI 2018-10-04 13:55:29 +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
$ time ./target/release/raptor-cli index csv --stop-words stop-words.txt the-csv-file.csv

The stop-words.txt file here is a simple file that contains one stop word by line.

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 server console or raptor serve http with the name of the dump. (e.g. relaxed-colden).

$ cargo build --release --default-features --features serve-console
$ ./target/release/raptor-cli serve console --stop-words stop-words.txt relaxed-colden

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