valeriansaliou/sonic

Possible to use as a library?

已关闭

#150 创建于 2019年5月30日

 (16 条评论) (27 个反应) (1 位负责人)Rust (613 个派生)batch import
help wanted

仓库指标

星标
 (21,176 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南