Live data from Hacker News

Building a Search Engine from Scratch

0x65.dev

91–100 of 151 posts

Re: Building a Search Engine from Scratch

#91
Honestly, what would be interesting is if there was an open source database of crawled webpages, available for anyone to search / use with their own algorithms. That would make it possible for... a lot of things, really.

I feel like the web parsing / indexing, perhaps rather than the search algorithm itself, is the hardest part of rolling a new search engine (largely due to the associated computing and storage costs).

Re: Building a Search Engine from Scratch

#92

Honestly, what would be interesting is if there was an open source database of crawled webpages, available for anyone to search / use with their own algorithms. That would make it possible for... a lot of things, really. I feel like the web parsing / indexing, perhaps rather than the search algorithm itself, is the hardest part of rolling a new search engine (largely due to the associated computing and storage costs)…

There is https://commoncrawl.org/, but it would be really cool if there were a more well-lit path towards building the rest of a simple search engine. For example, another commentator wanted “like Google, but without the spelling correction”, well, spin up one of these and just stub out the spelling module :)

Re: Building a Search Engine from Scratch

#94
post #38

Earlier quoted context omitted.

> They should market (and engineer) strongly on privacy since that's where Google is weak. How can you build a privacy oriented search engine and still make money?

If one didn't mind breaking even rather than making money one could create a search engine which is free software and have groups/people host their own instances.

Searx (https://github.com/asciimoo/searx/wiki/Searx-instances) is exactly what you described.

Re: Building a Search Engine from Scratch

#95
If you’re listening Cliqz, I (and I believe others) would pay $50-100 a month for a search engine that gave me the ability to blacklist sites. I think this alone could solve the biggest problem I have with google which is the reversion to the (what appears to be regressive) mean of the internet today.

Re: Building a Search Engine from Scratch

#96
post #92

Honestly, what would be interesting is if there was an open source database of crawled webpages, available for anyone to search / use with their own algorithms. That would make it possible for... a lot of things, really. I feel like the web parsing / indexing, perhaps rather than the search algorithm itself, is the hardest part of rolling a new search engine (largely due to the associated computing and storage costs)…

There is https://commoncrawl.org/ , but it would be really cool if there were a more well-lit path towards building the rest of a simple search engine. For example, another commentator wanted “like Google, but without the spelling correction”, well, spin up one of these and just stub out the spelling module :)

Thanks for the tip! I'll have to play around with that sometime.

Re: Building a Search Engine from Scratch

#97

50TB on localhost is awesome! I wonder what the amount of new content created was between 2018 and 2019.

But I doubt you really need it all in RAM for a small localized single user search engine. In that case you back most of the index with NVMe which at the prices I saw on black friday is probably less than $10k using consumer grade QLC flash drives when combined with cheap x1 pcie expansion boards/etc.

The 10PB of disk is also quite reachable given its possible to buy bulk 10T disks at $150 each.

Bottom line, I did some of these calculations a couple years ago because I was interested in a topic based search engine that only indexed for certain topics and basically tossed any crawler results that didn't appear to fit the subject matter.

So, while the web is a lot bigger than when google started, storage and compute is also a lot cheaper. A web search engine that specialized in say cooking recipes might be entirely doable on a fairly limited budget.

Re: Building a Search Engine from Scratch

#98
post #47

Earlier quoted context omitted.

Bing is the primary source though.

I'm not sure that's true. If you search the same query on both Bing and DDG, you'll see pretty different results.

I played with Yahoo BOSS a lot as a undergrad and I could tweak it to get "better" results than Yahoo Search for certain queries. That Bing and DDG have different results doesn't really say anything.

Re: Building a Search Engine from Scratch

#99
But is Cliqz a search engine, or is it a web browser with a search bar set to a default search engine (or a Firefox extension that accomplishes the same thing).

Cliqz bought Ghostery to acquire a pool of privacy-conscious users. The goal is to show them ads. Not sure how excited they will be about that.

If Cliqz really is a search engine, can a user submit a query to the database using her own choice of tcp/http client. It looks like submitting requires first downloading and installing software from Cliqz.

Re: Building a Search Engine from Scratch

#100
post #29

That Cliqz is trying to actually build a new search stack is commendable. This is way more exciting to me than DuckDuckGo and other services that just package up Bing search results under different branding. I'm skeptical that they'll be successful, but I wish them the best. They should market (and engineer) strongly on privacy since that's where Google is weak.

Certainly it can be done. Cuil did it with about 30 people a decade ago. No business model, they ran out of funding, and no one wanted to acquire them, but they did get the crawler and search engine running and publicly available.

It might be worthwhile to do the search part in-house and outsource the question-answering functions. Wolfram Alpha and IBM Watson could be used for answering common questions.

Post reply on HN