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

Indexing strategy for large datasets #738

Open
hectorcorrea opened this issue Jan 6, 2025 · 4 comments
Open

Indexing strategy for large datasets #738

hectorcorrea opened this issue Jan 6, 2025 · 4 comments
Labels

Comments

@hectorcorrea
Copy link
Member

hectorcorrea commented Jan 6, 2025

The way we are currently indexing data from PDC Describe into PDC Discovery is to store the entire file list as a string field in Solr (see pdc_describe_json_ss and files_ss in https://github.com/pulibrary/pdc_discovery/blob/main/config/traject/pdc_describe_indexing_config.rb).

This approach has worked great for small and medium datasets, but when datasets have 30K or 60K files the single field approach seems to be causing problems (see #711).

We should reviews our strategy for indexing large datasets so that this is not a problem, particularly since the number of files will continue increasing with newer datasets.

cc: @matthewjchandler

@kelynch
Copy link
Contributor

kelynch commented Jan 8, 2025

This might be being investigated in #724

@kelynch kelynch added the blocked label Jan 8, 2025
@kelynch
Copy link
Contributor

kelynch commented Jan 8, 2025

Blocked until we determine if this is necessary based on #724

@hectorcorrea
Copy link
Member Author

This is small incremental step that we could do to improve our indexing: #741

@hectorcorrea
Copy link
Member Author

Also, the work on this ticket will indeed be necessary for when we start processing datasets with hundreds of thousands of files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants