arquivo / pwa-technologies

Arquivo.pt main goal is the preservation and access of web contents that are no longer available online. During the developing of the PWA IR (information retrieval) system we faced limitations in searching speed, quality of results, scalability and usability. To cope with this, we modified the archive-access project (http://archive-access.sourceforge.net/) to support our web archive IR requirements. Nutchwax, Nutch and Wayback’s code were adapted to meet the requirements. Several optimizations were added, such as simplifications in the way document versions are searched and several bottlenecks were resolved. The PWA search engine is a public service at http://archive.pt and a research platform for web archiving. As it predecessor Nutch, it runs over Hadoop clusters for distributed computing following the map-reduce paradigm. Its major features include fast full-text search, URL search, phrase search, faceted search (date, format, site), and sorting by relevance and date. The PWA search engine is highly scalable and its architecture is flexible enough to enable the deployment of different configurations to respond to the different needs. Currently, it serves an archive collection searchable by full-text with 180 million documents ranging between 1996 and 2010.
http://www.arquivo.pt
GNU General Public License v3.0
38 stars 7 forks source link

Verify that the "Total collected files" number from our collections table reflects the number of CDX entries with status 200 #1353

Open VascoRatoFCCN opened 9 months ago

VascoRatoFCCN commented 9 months ago

On the collections table we have the following entry for total collected files for the collection IA: image

However, counting the number of status 200 CDXJ entries for collection IA we get 132113441

$ grep -a 'status": "200"' IA.cdxj | wc -l
132113441

This discrepancy could be due to duplication, but more likely it has to do with the numbers being outdated due to shifting from NutchWax to pywb for URL indexing.

We need confirm for all collections whether this number is correct or not, and rectify it when needed.

dcgomes commented 2 weeks ago

The "Total collected files" usually is counted from the crawl logs. However, the IA collection was not crawled, it was donated. Therefore probably this number was obtained from the initial Nuthwax indexing. The CDX count is more reliable.

@vitgou change Replay tab on https://docs.google.com/spreadsheets/d/1hfLyq9N2ZJEd1hra2V0OPI24jTy42ByR6M667rG-oHo/edit?gid=1778054497#gid=1778054497:

  1. Replace column "Estimated number of files indexed on CDXJ" by "Number of indexed files from CDXJ (HTTP 200)"
  2. Add "Total number of files indexed on CDXJ"