Semyon Semyonov created NUTCH-2537:
--------------------------------------

             Summary: Logical OR instead of AND in UrlExemptionFilters
                 Key: NUTCH-2537
                 URL: https://issues.apache.org/jira/browse/NUTCH-2537
             Project: Nutch
          Issue Type: Improvement
          Components: plugin
            Reporter: Semyon Semyonov


With NUTCH-2522 another urlexemptionfilter is added, therefore now we can 
combine the filters.
We should use more reasonable combination of ExemptionFilters based on OR, 
instead of AND.

The following code should be modified 
URLExemptionFilters.java : 66
 for (int i = 0; i < this.filters.length && exempted; i++) {
 exempted = this.filters[i].filter(fromUrl, toUrl);
 }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to