Live data from Hacker News

Ask HN: What strategy would you take to build a search engine today?

news.ycombinator.com

31–40 of 45 posts

Re: Ask HN: What strategy would you take to build a search engine today?

#31
I'd use one of the many search engine APIs available (BOSS, Bing, etc) to a build vertical search engine that enhances the basic results provided to me.

Re-inventing crawling, relevance clustering, etc isn't worth the trouble or the cost. Finding ways to enhance a specific market segment however would be a differentiater worth pursuing.

disclaimer: I work for Y!

Re: Ask HN: What strategy would you take to build a search engine today?

#32
Not sure I have an answer, but after writing a niche search engine I have this observation:

The more narrowly focused you get, the less keyword rich the data is likely to become. This creates obvious problems. I've been working on a search engine where last.fm is a major source of data, and their data is comprehensive, but keyword poor. How to work around this? There are ways but they're far from trivial or resource friendly.

Re: Ask HN: What strategy would you take to build a search engine today?

#33

I would focus on anticipating the user's search needs even before he/she formulates them and types out a search query. I would use as much context that a user is willing to provide me - location, recent email messages, voice call transcripts, unread messages, web browsing history, etc - to try to anticipate what the user is likely to query for. For example, a sales engineer who receives a technical query in his email…

If you can anticipate a user's search needs, why not take the next step and provide the answers before the user gets around to searching?

Re: Ask HN: What strategy would you take to build a search engine today?

#35
Write a crawler: Make it nice, so it doesn't hammer sites, convert relative urls to absolute, pull out relative data from html, cycle urls back through crawler for more crawling. Make sure your ISP doesn't have a cap on your monthly bandwidth (i.e. don't use a residential-scale ISP). Take into account pages that are dupes of other pages, so compare MD5s of all content to detect urls that generate duplicate content to what you've already pulled and ignore those. Integrate sitemap detection for smarter crawls.

Index the data: Figure out a way to index the massive volume of data that's not a live query system (lucene starts to gag at queries > 50GB or so), so generate all possible results for all possible queries in a database and update those results occasionally as you pull in more data. When someone queries for a search string, pull up the results from a pre-generated query from a database, don't do a live search of all of your terrabytes of data, or the query will take days.

Generate interesting results: find a niche. Don't plan to take on Google, Bing & Yahoo on a personal scale. People put together good engines, but target main sites, and front pages, or a shallow-depth crawl. Don't plan on indexing every forum and every blog on the internet.

I've been impressed by this guy's search engine: http://gigablast.com/

In short, unless you've got a TON of money, machinery, people and time, don't try to compete with Google. Find a niche like shopping search or movie search, or be human-powered like Mahalo. Google's got a dedicated computer for every possible search query out there or close to it, plus a team of 500,000 Chinese people making sure that popular results are relevant (Google does human-validated results for many of the most popular queries, not like an error message query).

Re: Ask HN: What strategy would you take to build a search engine today?

#36
I would rethink things fundamentally. That requires a lot of abstract thinking about ontology, but that's how the past revolutions in search began.

Yahoo treated the web like a phone book or directory. Altavista relied on self-categorization efforts in meta tags. Google treated links as votes.

You need to come up with a new (and hopefully better) way of thinking about what the web is. Come up with an inventive way of thinking about what linking means, what DOM structure means, how to think about non-standard types of content, and so on.

If you start with the same premises about the web that Google started with in 1997, you'll never surpass them much less carve about anything more than a toy niche.

Re: Ask HN: What strategy would you take to build a search engine today?

#39
post #33

I would focus on anticipating the user's search needs even before he/she formulates them and types out a search query. I would use as much context that a user is willing to provide me - location, recent email messages, voice call transcripts, unread messages, web browsing history, etc - to try to anticipate what the user is likely to query for. For example, a sales engineer who receives a technical query in his email…

If you can anticipate a user's search needs, why not take the next step and provide the answers before the user gets around to searching?

One step at a time :)

What you suggest would benefit from the performance/feedback from what the OP suggests.

This is basically what I am interested on working on currently , using "clues" gleaned from what the user is doing (a la RescueTime) to reorganize/reformulate a user's search query.

Re: Ask HN: What strategy would you take to build a search engine today?

#40
post #39
post #33

Earlier quoted context omitted.

If you can anticipate a user's search needs, why not take the next step and provide the answers before the user gets around to searching?

One step at a time :) What you suggest would benefit from the performance/feedback from what the OP suggests. This is basically what I am interested on working on currently , using "clues" gleaned from what the user is doing (a la RescueTime) to reorganize/reformulate a user's search query.

Let's talk - my e-mail address is in my profile.
Post reply on HN