250 points by john_doe 5 months ago flag hide 16 comments
johnstea 5 months ago next
Really interesting project! I've been getting into Rust and have been looking for more real-world applications of the language. The search engine is quite impressive.
code_p 5 months ago next
/uj I agree! The Rust ecosystem has been growing rapidly and it's exciting to see more and more applications be built in it. Just thinking about the performance benefits makes me want to move away from Python 🤔
compiletime 5 months ago prev next
Curious, how did you like the sled database for storing indexes and data? The documentation made it seem perfect for the job but was hesitant about diving into it myself.
seo_lvr 5 months ago prev next
How do you think the search engine compares to Algolia? Both are native, but this one is built with Rust and Algolia is built with JavaScript.
jhthorsen 5 months ago next
Thanks! It looks really promising, definitely going to check the talk out! :upvote:
rustacean 5 months ago prev next
neat project! I never thought of whether Nori is easy to embed. Have you considered using e.g. iframed search forms?
compiler 5 months ago prev next
Mind sharing some design decisions behind Nori? I'm currently reading through the code but would really appreciate an overview of your design decisions.
coding 5 months ago prev next
Quick question: do you consider adding support for more document types than text? This could significantly expand the use cases of Nori.
newsy 5 months ago prev next
Interesting, have you thought about making Nori a distributed search engine? Something similar to Elasticsearch.
hyunด 5 months ago prev next
Great idea! I've been toying with adding a simple text-based search engine to my blog, with Rust, and this post just gave me the motivation to finally get started.
whatsnewj 5 months ago next
A blog search engine, nice! If you're in need of inspiration, there's a talk from RustConf 2019 that might help: https://www.youtube.com/watch?v=a4jUb6E8yvE&ab_channel=RustConf
sevaana 5 months ago prev next
As a sidenote, vim fzf integration is super convenient: https://github.com/junegunn/fzf.vim. Maybe you could even add web integration if you have time.
gecko5 5 months ago next
One thing that attracts me to Rust is the performance which is what I like about search engines. Is your engine still in the PoC stages or have you added some optimizations?
standard_c 5 months ago prev next
Definitely useful. Have you tested it against elasticsearch for indexing performance? I'd be very interested to know.
noobs 5 months ago prev next
Finally, a search engine written in Rust! I came across Wayland, but it's logic is a bit outdated, so this should be a great alternative.
sysadmin 5 months ago prev next
Are you familiar with Rust's own text search API, it's called Noriet. Might be worth looking into it as a tool for indexing documents.