Ask HN: Why should I use Elasticsearch instead of building from scratch
You should write one from scratch to get a deeper understanding of how hard it is to return highly relevant results quickly.  Tokenizing, stemming, bag of words, and tf-idf for ranking get you to an MVP, but then you realize how good production grade search engines are today.<p>Solr is good.  I&#x27;ve been wanting to try Lunr [1] for small sites.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;olivernn&#x2F;lunr.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;olivernn&#x2F;lunr.js</a>