elasticlunr-rs
A partial port of elasticlunr.js to Rust. Intended to be used for generating compatible search indices.
Example
use File;
use Write;
use Index;
let mut index = new;
index.add_doc;
// Add more documents...
let mut file = create.unwrap;
file.write_all;
License
This repository is offered under the terms of the
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Includes code ported from elasticlunr.js Copyright (C) 2017 by Wei Song, used under license. See LICENSE-JS for details.
Includes stop word lists ported from stopwords-filter Copyright (C) 2012 David J. Brenes, used under license. See LICENSE-WORDS for details.