mattico / elasticlunr-rs

A partial port of elasticlunr to Rust. Intended to be used for generating compatible search indices.
Apache License 2.0
52 stars 23 forks source link

Use a trie implementation from crates.io #3

Open mattico opened 6 years ago

mattico commented 6 years ago

The current InvertedIndex and DocumentStore implementations are direct ports of the javascript ones. Rather than stick with a nested HashMap, it would be more efficient and more elegant to use a native trie implementation. (As long as it doen't make Serialization much worse)