TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I made a search engine for Hacker News

211 pointsby ofermend11 months ago
I love HN but always felt the search with algolia is okay but does have some limitations. Since I work at Vectara I decided to try and create a better search for HN. It&#x27;s based on data from roughly the last 6 months of HN stories and comments.<p>Would love to hear feedback and how useful this is relative to the existing search.

29 comments

pedalpete11 months ago
Nice work. I wonder if there may be a better application for the Vectara capabilities than search?<p>Algolia has already done the search thing, can the Vectara search be 10x better?<p>What I do find missing from HN is the ability for me to see things that may be of interest to me, but that I may have missed. I like how I get everything in the main feed which is pure popularity, but I don&#x27;t have the time to go through all posts, and definitely likely miss things I would probably have been interested in.<p>Though this can be done with collaborative filtering, or other non-AI methods, might this be a decent use case for your AI?
评论 #40864822 未加载
评论 #40867351 未加载
评论 #40864456 未加载
评论 #40864492 未加载
ptsd_dalmatian11 months ago
Am I the only one that hasn&#x27;t noticed the search input in the footer? :O
评论 #40865669 未加载
评论 #40865623 未加载
n4r911 months ago
Like some other comments here I find HN search useful and powerful and am a little unsure what the added value is here. Possibly&#x2F;probably it&#x27;s for people that search in a different way to me.<p>One of the most frequent searches I do is to look for a specific comment that I know a user made recently. For example, I might want to look for my own comment here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40801389">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40801389</a> (sorry, this is a slightly political one but I just picked it randomly for test purposes).<p>Searching Vectara for &quot;n4r9 NHS&quot; produces no results: <a href="https:&#x2F;&#x2F;hackernews.demo.vectara.com&#x2F;?query=n4r9+NHS&amp;filter=" rel="nofollow">https:&#x2F;&#x2F;hackernews.demo.vectara.com&#x2F;?query=n4r9+NHS&amp;filter=</a><p>HN&#x27;s own search however produces the goods in the top result: <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=false&amp;query=n4r9%20NHS&amp;sort=byDate&amp;type=comment" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=false&amp;qu...</a><p>[ EDIT except for this very post :p ]<p>Maybe 6 days ago is outside the dataset that this is based on?<p>Some other thoughts&#x2F;suggestions:<p>- Ability to click through to the comment itself? At the moment it looks like the link goes just to the main comments page and then I have to find the relevant comment on the page.<p>- Filter comments vs posts?<p>- Order by datetime?<p>- Filter within a date range?
评论 #40866756 未加载
marcodiego11 months ago
Please, add also the possibility to search in links posted&#x2F;commented in hacker news. I bet it would be competitive against google for the hn crowd.
评论 #40866768 未加载
KomoD11 months ago
OP mentions Algolia having limitations but this seems more limited?<p>It doesn&#x27;t seem like it has any filtering or sorting like the Algolia one has, like comments&#x2F;stories by a specific user, during certain dates, sorting by upvotes&#x2F;recency, searching by just title&#x2F;content&#x2F;comments.<p>Say I wanted to search for comments by the OP, ofermend, it doesn&#x27;t seem like I can...<p>Entering just their name returns results that aren&#x27;t made by them nor mention their username, I tried other queries too without any luck.
jiehong11 months ago
Congratulations!<p>Although, something I value a lot from algolia is the very fast live search as you type[0].<p>Vectara seems to be smarter, but much slower.<p>My needs are satisfied with algolia 99% of the time as a technical user.<p>[0]: <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;query=hello&amp;sort=byPopularity&amp;type=story" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;que...</a>
ofermend10 months ago
Thank you everyone for the feedback. For those interested in asking questions about articles, here&#x27;s another nice demo (still in beta): an Agentic RAG chatbot demo (hosted on Huggingface, using streamlit for UI):<p><a href="https:&#x2F;&#x2F;huggingface.co&#x2F;spaces&#x2F;vectara&#x2F;hacker-news-chat" rel="nofollow">https:&#x2F;&#x2F;huggingface.co&#x2F;spaces&#x2F;vectara&#x2F;hacker-news-chat</a><p>Feel free to ask it some things and let me know how it works.
rgaidot11 months ago
That&#x27;s interesting to hear you&#x27;ve developed a new search interface for Hacker News. I can relate, as I&#x27;ve worked on another search interface as a personal project myself (validated in &quot;Cool Apps&quot; at algolia), though mine has no ambitions beyond personal exploration. Knowing there are various other options already in existence, I&#x27;m genuinely curious to see how your approach distinguishes itself. Finally site hn.algolia.com is no longer maintained. <a href="https:&#x2F;&#x2F;hnpaper-labs.gaidot.net" rel="nofollow">https:&#x2F;&#x2F;hnpaper-labs.gaidot.net</a>
评论 #40888240 未加载
omneity11 months ago
I searched for &quot;Supabase&quot; and none of top the results in your demo contained an actual post about supabase. Following the example queries I then tried &quot;What is supabase?&quot; and the results were equally irrelevant.<p>My personal opinion is that I&#x27;ll keep using the HN search for the foreseeable time.
评论 #40867532 未加载
metadat11 months ago
Cool project, but I&#x27;m struggling to understand what is better about the Vectara solution?<p>Compared to Algolia.hn, this gives 0 filter controls (time window, stories vs. comments, `author:metadat&#x27;, sort order, and so on), and no ability to search for exact matches. It failed to turn up anything interesting or even relevant for the 4 or 5 queries I ran.<p>You&#x27;ve still made it further than I in the HN search engine adventures, which is commendable.
评论 #40860927 未加载
评论 #40862277 未加载
owenpalmer11 months ago
Cool, I like it!<p>I found a bug. Under the &quot;When will GPT-5 be released?&quot; search results, there are double duplicate results. On one of the duplicates, the &quot;username (date)&quot; says &quot;undefined (undefined)&quot;
评论 #40861479 未加载
评论 #40861428 未加载
d4rkp4ttern11 months ago
I really like this HackerSearch app:<p><a href="https:&#x2F;&#x2F;hackersearch.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hackersearch.net&#x2F;</a>
评论 #40865002 未加载
douglaskayama11 months ago
I tried searching for lootitooti, Vectara found nothing, Algolia found two results, one in a post and one in a comment in another post.<p>PS: no, lootitooti is not my project. I decided to finally watch Game of Thrones with my wife and I remembered that site when I was watching the opening. I remembered seeing it here on HN, searched and found it.
smusamashah11 months ago
It doesn&#x27;t always work correctly. For example &quot;Text to diagram tool&quot; is returning very few results and some of the results are not even correct. While this topic has been discussed a lot here. I was mainly looking for the list of tools I keep sharing whenever this topic comes up, or when I share a related tool in a thread.
uwemaurer11 months ago
Great work!<p>I am currently playing with the Algolia hackernews search API myself and experimenting with spaCy Named Entity Recognition and llama3 to come up with some interesting data.<p>Work in progress version here: <a href="https:&#x2F;&#x2F;news.facts.dev&#x2F;topic" rel="nofollow">https:&#x2F;&#x2F;news.facts.dev&#x2F;topic</a>
ravishing022311 months ago
Nice.<p><a href="https:&#x2F;&#x2F;hackernews.demo.vectara.com&#x2F;?query=I+made+a+search+engine+for+Hacker+News&amp;filter=" rel="nofollow">https:&#x2F;&#x2F;hackernews.demo.vectara.com&#x2F;?query=I+made+a+search+e...</a>
kuzej11 months ago
Great project! But I&#x27;m curious about how the frontend was implemented. What&#x27;s the tech stack? For example, is it Next.js + Tailwind CSS?
okhuman11 months ago
I&#x27;m thrilled to see Vectara here – they have one of the top Product Managers I&#x27;ve ever had the chance to work with and be mentored by.
call-me-al11 months ago
really like this one from [Show HN: Hacker Search – A semantic search engine for Hacker News](<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40238509">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40238509</a>). The URL is: <a href="https:&#x2F;&#x2F;hackersearch.net&#x2F;ask" rel="nofollow">https:&#x2F;&#x2F;hackersearch.net&#x2F;ask</a>
bschwarz11 months ago
Struggled to find a specific comment earlier today via Algolia, found it as the second result on Vectara.
bckr11 months ago
Next someone should make a hackernews meta search engine :)
sharpshadow11 months ago
Like Algolia it doesn’t work without JS.
yoouareperfect11 months ago
Amazing! Congrats on launching!
ceving11 months ago
Searching for &quot;iptables&quot; returns first:<p>&gt; Arm says it wants all Snapdragon X Elite laptops destroyed<p>Not so useful.
评论 #40863186 未加载
jpl5611 months ago
Great! My first thought was &quot;funniest XKCD&quot;. Loved the Self Driving one [0]. Thanks!<p>[0]: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1897&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1897&#x2F;</a>
Jiahang11 months ago
i use Google :{}+ news.ycombinator.com
dcoder231111 months ago
Cool work!
yanko11 months ago
How to full text search on hn given user favorites only... If no such such option I feel disappointed
wjb311 months ago
Excellent!