Skip to content

Comment on SearchYC Performance Enhancements

Comments

I always love hearing about behind the scenes updates, thanks for posting.

As a more dev-heavy optimization, it might be possible to return cached results (user-search:PG), and then trigger a backend server to refresh the cache, possibly even using ajax to inject the new results.

Thanks for the site, it's my top choice for searching HN.

As an aside, I'd love to see a standard for integrating site-specific search into a larger search engine. Imagine if you could go to Google, and type in

"Site:News.ycombinator.com user:e1ven" and it would send those as post-requests to the search engine designated by robots.txt on the host?

That would make search dramatically "deeper", by letting google act as a front-end to each site's results.

-CPD

There's the "OpenSearch" protocol, which just tells your browser "to search this site go to [someurl]?search={SearchTerms}" SearchYC could certainly add this, though I think it may be limited to 1 search only, and not something like: "I have two types of searches, one for everything, and and another for users."

But beyond that, OpenSearch it's pretty limited. I expect this area of semi-semantic searching to explode, which is why I'm investing my own time into it.

So, hang tight for a couple of weeks, then the problem will be solved :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.