valeriansaliou/sonic

Possible to use as a library?

Chiusa

#150 aperta il 30 mag 2019

 (16 commenti) (27 reazioni) (1 assegnatario)Rust (613 fork)batch import
help wanted

Metriche repository

Star
 (21.176 stelle)
Metriche merge PR
 (Merge medio 3g 6h) (6 PR mergiate in 30 g)

Descrizione

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

Guida contributor