textproc/sonic 1.4.9_21 FreeBSD
Fast, lightweight, and schema-less search backend
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MPL20
- Categories
- textproc
- Package size
- 4379.2 KiB, 14195.4 KiB installed
Description
Sonic is a fast, lightweight, and schema-less search backend. It ingests search texts and identifier tuples that can then be queried against in a microsecond's time.
Sonic can be used as a simple alternative to super-heavy and full-featured search backends such as Elasticsearch in some use-cases. It is capable of normalizing natural language search queries, auto-completing a search query and providing the most relevant results for a query. Sonic is an identifier index, rather than a document index; when queried, it returns IDs that can then be used to refer to the matched documents in an external database.
A strong attention to performance and code cleanliness has been given when designing Sonic. It aims at being crash-free, super-fast and puts minimum strain on server resources.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/sonic | 1.4.9_21 |
| NetBSD | audio/sonic | 0.0.0.225 |
| HardenedBSD | textproc/sonic | 1.4.9_20 |
| GhostBSD | textproc/sonic | 1.4.9_20 |
Install
Binary package:
pkg install sonic
From the ports tree:
cd /usr/ports/textproc/sonic/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sonic>0:textproc/sonic
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.9_20 | 1.4.9_21 | - | 1.4.9_10 | 1.4.9_21 |
| FreeBSD:14:quarterly | 1.4.9_20 | 1.4.9_20 | n/a | 1.4.9_9 | 1.4.9_20 |
| FreeBSD:15:latest | 1.4.9_21 | 1.4.9_21 | n/a | 1.4.9_10 | 1.4.9_10 |
| FreeBSD:15:quarterly | 1.4.9_20 | 1.4.9_20 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.9_20 | 1.4.9_21 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libzstd.so: archivers/zstd
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 2
No port depends on this one.
Configuration
Options name: textproc_sonic
| Option | Default | Description |
|---|---|---|
| CHINESE | on | Chinese word segmentation |
| DOCS | off | Build and/or install documentation |
| JAPANESE | off | Japanese word segmentation (adds ~100MB UniDic download) |
- USES
- cargo compiler:c++11-lang gmake
- Service scripts
sonic
Files
distinfo 206
| File | Size | SHA256 |
|---|---|---|
| unidic-mecab-2.1.2_src.zip | 1.40517811e+08 | 6cce98269214ce7de6159f61a25ffc5b436375c098cc86d6aa98c0605cbf90d4 |
| rust/crates/adler-1.0.2.crate | 12778 | f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe |
| rust/crates/aes-0.8.3.crate | 124679 | ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2 |
| rust/crates/ahash-0.7.7.crate | 38508 | 5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd |
| rust/crates/ahash-0.8.6.crate | 42780 | 91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a |
| rust/crates/aho-corasick-1.1.2.crate | 183136 | b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0 |
| rust/crates/allocator-api2-0.2.16.crate | 59025 | 0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5 |
| rust/crates/anyhow-1.0.75.crate | 43901 | a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6 |
| rust/crates/atty-0.2.14.crate | 5470 | d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 |
| rust/crates/autocfg-1.1.0.crate | 13272 | d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa |
| rust/crates/base64-0.21.5.crate | 77134 | 35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9 |
| rust/crates/base64ct-1.6.0.crate | 28870 | 8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b |
| rust/crates/bincode-1.3.3.crate | 28958 | b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad |
| rust/crates/bindgen-0.65.1.crate | 213479 | cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5 |
| rust/crates/bitflags-1.3.2.crate | 23021 | bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a |
| rust/crates/bitflags-2.4.1.crate | 37043 | 327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07 |
| rust/crates/block-buffer-0.10.4.crate | 10538 | 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71 |
| rust/crates/byteorder-1.5.0.crate | 23288 | 1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b |
| rust/crates/bzip2-0.4.4.crate | 34197 | bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8 |
| rust/crates/bzip2-sys-0.1.11+1.0.8.crate | 633444 | 736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc |