Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd highly recommend Solr[0] for searching to cut down the load. Or, if this is a static site, you could use Lunr[1] to have an efficient search that runs on the client. Is this site OSS?

[0] https://lucene.apache.org/solr/

[1] https://lunrjs.com/



Thank you. I will check out Solr. I'm using Elasticsearch currently for the readmes, but I disabled it while troubleshooting so it's currently just searching on titles and descriptions via mysql. I will re-enable elasticsearch later and figure out how to better optimize it for future traffic.


Ah, then there's no need to check out Solr! They both use the same backend search engine called Lucene.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: