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

Add add_doc_with_tokenizer method to Index #37

Closed aconradi closed 3 years ago

aconradi commented 3 years ago

This makes it possible to build an index with custom tokenization of document text. This is useful if indexing text with css attributes for example.

This is a suggested fix for #32

mattico commented 3 years ago

Thanks!