Skip to content

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

Draft
landreev wants to merge 1 commit intodevelopfrom
prodpatch-solr-skip-ip-groups
Draft

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

Conversation

@landreev
Copy link
Copy Markdown
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
Copy Markdown

coveralls commented Feb 5, 2026

Coverage Status

coverage: 24.886% (-0.001%) from 24.887% — prodpatch-solr-skip-ip-groups into develop

@github-actions

This comment has been minimized.

FeatureFlags (for "skip non-explicit groups")

A local mod that skips non-explicit groups when the corresponding flag is defined.
@landreev landreev force-pushed the prodpatch-solr-skip-ip-groups branch from cc9e23f to 22b2b76 Compare April 14, 2026 17:34
@github-actions
Copy link
Copy Markdown

📦 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