BSD Ports

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

SystemPortVersion
FreeBSDtextproc/sonic1.4.9_21
NetBSDaudio/sonic0.0.0.225
HardenedBSDtextproc/sonic1.4.9_20
GhostBSDtextproc/sonic1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.9_201.4.9_21-1.4.9_101.4.9_21
FreeBSD:14:quarterly1.4.9_201.4.9_20n/a1.4.9_91.4.9_20
FreeBSD:15:latest1.4.9_211.4.9_21n/a1.4.9_101.4.9_10
FreeBSD:15:quarterly1.4.9_201.4.9_20n/an/an/a
FreeBSD:16:latest1.4.9_201.4.9_21n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

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

OptionDefaultDescription
CHINESEonChinese word segmentation
DOCSoffBuild and/or install documentation
JAPANESEoffJapanese word segmentation (adds ~100MB UniDic download)
USES
cargo compiler:c++11-lang gmake
Service scripts
sonic

Files

distinfo 206
FileSizeSHA256
unidic-mecab-2.1.2_src.zip1.40517811e+086cce98269214ce7de6159f61a25ffc5b436375c098cc86d6aa98c0605cbf90d4
rust/crates/adler-1.0.2.crate12778f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
rust/crates/aes-0.8.3.crate124679ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2
rust/crates/ahash-0.7.7.crate385085a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd
rust/crates/ahash-0.8.6.crate4278091429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a
rust/crates/aho-corasick-1.1.2.crate183136b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0
rust/crates/allocator-api2-0.2.16.crate590250942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5
rust/crates/anyhow-1.0.75.crate43901a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6
rust/crates/atty-0.2.14.crate5470d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/base64-0.21.5.crate7713435636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9
rust/crates/base64ct-1.6.0.crate288708c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b
rust/crates/bincode-1.3.3.crate28958b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad
rust/crates/bindgen-0.65.1.crate213479cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/bitflags-2.4.1.crate37043327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07
rust/crates/block-buffer-0.10.4.crate105383078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71
rust/crates/byteorder-1.5.0.crate232881fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b
rust/crates/bzip2-0.4.4.crate34197bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8
rust/crates/bzip2-sys-0.1.11+1.0.8.crate633444736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc

Commit history 3

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645