Hacker News new | past | comments | ask | show | jobs | submit login

I spend a lot of time trying to find articles I once read on here via Google with...

  site:news.ycombinator.com some term
...but a many times "some term" is not in the title of the HN post, but in the body of the article. I didn't see any other tools that did this for HN.



There's also Algolia, https://hn.algolia.com


It doesn't index the article contents though; only the story titles and comments, same as Google.


How did you come to this conclusion with respect to hndex?

Most articles have no comments. Yet one can search on hndex for terms only found in the article, not in the title.


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.


It does seem to have a much larger index though, which for me at least makes it more useful. Hopefully hndex's index will grow.


Consider expanding the scope to index links posted in user comments, too.


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.

[0] https://news.ycombinator.com/item?id=23426951


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.


For that specific use case, you can try the intitle keyword

  site:news.ycombinator.com intitle:"some term"


Yes, me too! This is really great, thanks! I'll definitely be using it.


what are you using to do the full text search?




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

Search: