valeriansaliou/sonic

Possible to use as a library?

クローズ

#150 opened on 2019/05/30

 (16 件のコメント) (27 件のリアクション) (1 人の担当者)Rust (613 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (21,176 個のスター)
PR merge metrics
 (平均マージ 3d 6h) (30d で 6 merged PRs)

説明

Hello,

Obviously, this crate was designed to operate as a server, but there are a lot of cases where embedding it into an application make sense:

  • using it in your own servers
  • using it for a desktop application
  • perhaps even compiling to WASM and using it on the front-end (e.g. with seed-rs)

There are nice reusable modules, such as the lexer, stopwords and the fst dependencies.

How feasible is it to split sonic into a library and a server that's based on that library?

I know about tantivy, but I think this crate would be great for this too

コントリビューターガイド