mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 10:07:40 +08:00
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
raptor | ||
raptor-http | ||
raptor-indexer | ||
raptor-search | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
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
).