I wasn't really saying anything about hndex, apart from that it indexes the contents of external articles submitted to HN, as you said.
The correction I was making was about HN Algolia search (which is linked from the search box at the bottom of each HN page), which only indexes content on news.ycombinator.com itself – i.e., article titles, comments and text-only posts like Show/Ask HN – but not the external content in submitted articles.
This is really useful! You might want to consider hiding the “More”-button if the current page isn’t filled up, so as to not just have an empty page when clicking it.
For some reason I couldn’t find my own blog post[0], even when searching for the embarrassing typo I made in the title - acommodating.
Very nice. Works as expected.
I stumbled about two things that could be improved:
- Add a search Button for convenient mobile use or if a user copy pasts things into to the search field using the mouse
- Add a comment counter on the result page, Since you index every article a lot of them have none or very few comments.
Oh and just a warning, depending on the jurisdiction providing the cache could be problematic under copyright laws since its basically a copy of the article.