mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-11-05 18:36:28 +00:00
8cd07462aac78834e1802296d466b47d5fcd0405
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.maprepresent the fst map. - The
xxx.idxrepresent the doc indexes matching the words in the map. - The
xxx.sstis 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).
Description
A lightning-fast search API that fits effortlessly into your apps, websites, and workflow
app-searchdatabaseenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchhybrid-searchinstantsearchrestrustsearchsearch-as-you-typesearch-enginesemantic-searchsite-searchsynonymstypo-tolerancevector-databasevectors
Readme
112 MiB
Languages
Rust
99.9%