Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2537

Logical OR instead of AND in UrlExemptionFilters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • plugin
    • None

    Description

      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); }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              semyon.semyonov@mail.com Semyon Semyonov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: