Skip to content

Experimental: ignore non-explicit groups (IP groups, specifically) when making solr queries #12149

Draft
landreev wants to merge 2 commits intodevelopfrom
prodpatch-solr-skip-ip-groups
Draft

Experimental: ignore non-explicit groups (IP groups, specifically) when making solr queries #12149
landreev wants to merge 2 commits intodevelopfrom
prodpatch-solr-skip-ip-groups

Conversation

@landreev
Copy link
Contributor

@landreev landreev commented Feb 5, 2026

What this PR does / why we need it:

This was a quick prod. experiment: We have IP groups defined that make a fairly large numbers of otherwise guest/unprivileged users members of at least one group. As of right now however there doesn't seem to be any cases where this group membership results in any extra rights as far as indexing and searching is concerned. So, dropping these allows to build simplified Solr queries without a single JOIN (in combo with the "avoid expensive join" flag).
I do not have any quantitative data showing that this resulted in any real savings. Just an experiment/was something that was rubbing me the wrong way.
No intent to merge this into main develop.
Making a draft PR to have these commits in one place for convenient cherry-picking into future prod. patches.
I will delete it if/when I think of a cleaner way to maintain these custom mods. (A prodpatch fork is probably the way to go).

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer:

Suggestions on how to test this:

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

Is there a release notes update needed for this change?:

Additional documentation:

@coveralls
Copy link

Coverage Status

coverage: 24.322% (-0.001%) from 24.323%
when pulling cc9e23f on prodpatch-solr-skip-ip-groups
into 86796a1 on develop.

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:prodpatch-solr-skip-ip-groups
ghcr.io/gdcc/configbaker:prodpatch-solr-skip-ip-groups

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

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