valeriansaliou/sonic

Possible to use as a library?

Closed

#150 创建于 2019年5月30日

在 GitHub 查看
 (16 评论) (27 反应) (1 负责人)Rust (21,176 star) (613 fork)batch import
help wanted

描述

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

贡献者指南