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

Elasticsearch storage backend #25

Draft
wants to merge 404 commits into
base: main
Choose a base branch
from
Draft

Elasticsearch storage backend #25

wants to merge 404 commits into from

Conversation

janheinrichmerker
Copy link
Contributor

@janheinrichmerker janheinrichmerker commented Nov 2, 2023

Restucture the crawing and parsing to store structured data in Elasticsearch indices instead of in the file system.
Also store WARCs in S3 instead of raw files.
The new storage backends should be flexible enough to allow for re-parsing parts of the dataset without having to delete anything.
The second key requirement is to be able to scale up massively by only interacting with standard ES/S3 APIs instead of having to mount a shared file system on all nodes.

# Conflicts:
#	.github/workflows/ci.yml
#	.idea/inspectionProfiles/Project_Default.xml
#	.idea/misc.xml
#	README.md
#	archive_query_log/legacy/cli/make.py
#	archive_query_log/legacy/results/test/generate_tests.py
#	archive_query_log/legacy/results/test/test_ask_serp_parsing.py
#	archive_query_log/legacy/results/test/test_brave_serp_parsing.py
#	archive_query_log/legacy/results/test/test_chefkoch_serp_parsing.py
#	archive_query_log/legacy/results/test/test_duckduckgo_serp_parsing.py
#	archive_query_log/legacy/results/test/test_ecosia_serp_parsing.py
#	archive_query_log/legacy/results/test/test_qwant_serp_parsing.py
#	data/selected-services.yaml
#	pyproject.toml
#	slurm-cli
#	slurm-setup
@janheinrichmerker janheinrichmerker self-assigned this Nov 2, 2023
@janheinrichmerker janheinrichmerker marked this pull request as draft November 2, 2023 16:31
@janheinrichmerker janheinrichmerker changed the title [WIP] Elasticsearch storage backend Elasticsearch storage backend Nov 2, 2023
janheinrichmerker and others added 30 commits February 13, 2024 16:01
Signed-off-by: Jan Heinrich Reimer <[email protected]>
Signed-off-by: Jan Heinrich Reimer <[email protected]>
Signed-off-by: Jan Heinrich Reimer <[email protected]>
Signed-off-by: Jan Heinrich Reimer <[email protected]>
Signed-off-by: Jan Heinrich Reimer <[email protected]>
- removed boxes and added url and text in DirectAnswer
- changed xpath str to xpaths List[str]
Signed-off-by: Jan Heinrich Merker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants