Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and test Hadoop 020/3 Solr indexer #81

Open
1 of 7 tasks
anjackson opened this issue Nov 12, 2021 · 0 comments
Open
1 of 7 tasks

Create and test Hadoop 020/3 Solr indexer #81

anjackson opened this issue Nov 12, 2021 · 0 comments
Assignees

Comments

@anjackson
Copy link
Contributor

anjackson commented Nov 12, 2021

We want to start automatically indexing FC WARCs for full-text search.

  • See e.g. website/scripts/run-solr-indexer.sh for the basic operation.
  • The Solr indexer uses a SurtPrefixSet for the Open Access list, so that is expected to be SURTs. This should be provided by the OA Surts file generated by w3act_export.
  • The Solr indexer uses a StaticMapExclusionFilterFactory for exclusions, like Open Wayback, so this can be a mixture of URLs and SURTs. The PyWB block files are manually-managed files from the internal GitLab repo.

Some of this will be done in ukwa-manage rather than here, but we'll need an Airflow runner.

Create a Solr indexer that:

  • Runs like the CDX Indexer, tracking progress in TrackDB.
  • Use http://solr.api.wa.bl.uk/solr/admin/collections?action=LIST&wt=json to determine which collection to use, and throw an error if there's no match.
  • Add option to only index items marked as indexed in CDX.
  • Verify that the the full-text block file should be the union of both of the PyWB block files.
  • Create Airflow DAGs to run the Solr indexer like we do for the CDX indexer.
  • Should commit at the end?
  • If possible, verifies it worked.
@anjackson anjackson self-assigned this Nov 12, 2021
@anjackson anjackson changed the title Create and test Hadoop 3 Solr indexer Create and test Hadoop 020/3 Solr indexer Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant