You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by "Insurance Squared Inc." <gc...@insurancesquared.com> on 2005/11/07 10:34:44 UTC

Using nutch for niche/country specific TLD

Hi,

We're barely past the install stages with nutch, I'd like to ask the 
more experienced a few general questions before I jump in with both feet.

I'm thinking about creating a country specific (by TLD) search engine. 

- Can nutch only crawl specific TLD's?  (i.e. like .it, or .uk.com).  My 
suspicion is that I could easily modify nutch to do this.
- Can I run crawlers on two seperate machines, then merge the results 
for search?  I'm guessing yes, just looking for confirmation.
- If I only use a specific TLD, I think I would need a 'submit your 
site' function.  Does nutch do this?  I didn't see it in our install, 
wondering if it's a common practice.
- In the future I think I'd want to branch out to other TLD's, but 
keeping the results country specific (i.e. .com's that are relevant to 
the country).  I'm guessing this is a largish project that would require 
substantial changes to the algorithm to rank a site's 
'country-specificness'?
- I'm also considering hand editing the crawl, is this reasonably 
possible?  i.e. I unleash the crawler on a seed set of sites, then need 
to hand approve any further sites that are found by the crawler from 
there.  Actually, I guess that's a double question - is it currently 
technically possible, and secondly am I an idiot for even thinking of 
such a task? :). 

Thanks - I'm trying to get a handle on things I might run into before I 
get too far into this.  I'm confident I can make minor tweaks if needed, 
but some of the above seem to me to need some heavy duty work if they're 
not already available; perhaps more than I can do for what I'm looking 
at as my next hobby. 

Thanks!


Re: Using nutch for niche/country specific TLD

Posted by Vlad Berditchevskiy <vl...@hashbang.de>.
"Insurance Squared Inc." <gc...@insurancesquared.com> writes:

> - Can nutch only crawl specific TLD's?  (i.e. like .it, or .uk.com).  My 
> suspicion is that I could easily modify nutch to do this.

You could use regex-urlfilter. Put something like this in
conf/regex-urlfilter.txt:

+^http://.*\.tld/

Don't forget to remove the "+." line.

> - Can I run crawlers on two seperate machines, then merge the results 
> for search?  I'm guessing yes, just looking for confirmation.

Yes.

> - If I only use a specific TLD, I think I would need a 'submit your 
> site' function.  Does nutch do this?  I didn't see it in our install, 
> wondering if it's a common practice.

AFAIK you have to write such a function yourself (unless someone already
did it). But it should be pretty simple, just inject the submitted URL
(maybe after a sanity check).


-- 
\  /                                       vlad@hashbang.de
 \/lad                                     http://www.hashbang.de