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

add back variable indexing #6545 #7654

Merged
merged 2 commits into from Mar 16, 2021
Merged

add back variable indexing #6545 #7654

merged 2 commits into from Mar 16, 2021

Conversation

scolapasta
Copy link
Contributor

What this PR does / why we need it:
This adds back indexing of variable labels and fields added via the Data Curation Tool

Which issue(s) this PR closes:
Closes #6545

Special notes for your reviewer:
The change was just to reduce the number of queries from one per variable to 1 (then put that into a Map).

Suggestions on how to test this:
Test and compare performance of indexing, especially index all. Indexing should take a little longer than current (because) it is indexing more, but a reasonable percentage more. In my testing, for example, 1 dataset took just under a second before this change and just over a second after (with the original variable metadata indexing it took 10 seconds).

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No

Is there a release notes update needed for this change?:
Yes, installation should reindex to catch variable metadata (the plan is to get this into the same release as Solr upgrade).

Additional documentation:

Copy link
Contributor

@sekmiller sekmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable using an existing query and map for improved performance.

IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Review 🦁 to QA 🔎✅ Mar 8, 2021
@kcondon kcondon self-assigned this Mar 12, 2021
@kcondon kcondon merged commit e2f30ba into develop Mar 16, 2021
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA 🔎✅ to Done 🚀 Mar 16, 2021
@kcondon kcondon deleted the 6545-variable-indexing branch March 16, 2021 14:42
@djbrooke djbrooke added this to the 5.4 milestone Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Solr search and variable level metadata
4 participants