valeriansaliou/sonic

Possible to use as a library?

Closed

#150 opened on May 30, 2019

View on GitHub
 (16 comments) (27 reactions) (1 assignee)Rust (21,176 stars) (613 forks)batch import
help wanted

Description

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

Contributor guide