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

avoid recursion in add_token #14

Closed sakateka closed 6 years ago

sakateka commented 6 years ago

Hi, I have removed the recursion in the add_token function because with the recursive version, the mdbook app crashes due to the main stack overflow You can reproduce this on any document that has a very long line (for example, 2Mb)

sakateka commented 6 years ago

@mattico PTAL

mattico commented 6 years ago

Will release shortly