mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-11-10 12:56:28 +00:00
26dcfe1e541f487efe6321038c1658bcfe1aaaaf
pentium
A search engine based on the blog posts serie of the great Algolia company.
This is a library, this means that binary are not part of this repository
but since I'm still nice I have made some examples for you in the examples/ folder.
Usage
Pentium work with an index like most of the search engines. So to test the library you can create one by indexing a simple csv file.
cargo build --release --example csv-indexer
time ./target/release/examples/csv-indexer --stop-words misc/en.stopwords.txt misc/kaggle.csv
The en.stopwords.txt file here is a simple file that contains one stop word by line (e.g. or, and...).
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 run the serve-console or serve-http examples with the name of the dump. (e.g. relaxed-colden).
cargo build --release --example serve-console
./target/release/examples/serve-console relaxed-colden
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
113 MiB
Languages
Rust
99.9%