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 2006/01/12 14:06:56 UTC

large filter file, time to update db

Hi,

I'm trying to determine if there's a better way to whitelist a large 
number of domains than just adding them as a regular expression in the 
filter.

We're setting up a regional search engine and using the filter file to 
determine what URL's make it into the db.  We've added specific domain 
extensions and a list of IP address in the region, but that barely taps 
the list.  So we've taken to adding individual domains into the filter 
list - lots of them.   I'd take a guess and say that ultimately we're 
going to need to have hundreds of thousands of domains whitelisted in 
our filter.

Ultimately I don't think this is going to be workeable.  Updating the 
database with a filter like this will simply take too long - likely 
hours or days. 

Is there a more scalable way of doing this?

Thanks,
g.


Re: large filter file, time to update db

Posted by Doug Cutting <cu...@nutch.org>.
Insurance Squared Inc. wrote:
> I'm trying to determine if there's a better way to whitelist a large 
> number of domains than just adding them as a regular expression in the 
> filter.

Have a look at the urlfilter-prefix plugin.  This is more efficient for 
filtering urls by a large list of domains.

Doug