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

Multiple deletes of the same URL using SolrClean

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3, 1.4
    • 1.4, nutchgora
    • indexer
    • None
    • Patch Available

    Description

      The SolrClean class does not keep track of purged URLs, it only checks the URL status for "db_gone". When run multiple times the same list of URLs will be deleted from Solr. For small, stable crawl databases this is not a problem. For larger crawls this could be an issue. SolrClean will become an expensive operation.

      One solution is to add a "purged" flag in the CrawlDatum metadata. SolrClean would then check this flag in addition to the "db_gone" status before adding the URL to the delete list.

      Another solution is to add a new state to the status field "db_gone_and_purged".

      Either way, the crawl DB will need to be updated after the Solr delete has successfully occurred.

      Attachments

        1. NUTCH-1052-1.4-1.patch
          8 kB
          Markus Jelsma
        2. NUTCH-1052-1.4-2.patch
          8 kB
          Markus Jelsma
        3. NUTCH-1052-1.4-3.patch
          9 kB
          Markus Jelsma

        Issue Links

          Activity

            People

              jnioche Julien Nioche
              tim.pease Tim Pease
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: