Skip to content

Add (user_id, id) index on documents [production] - #514

Merged
duckduckgrayduck merged 1 commit into
masterfrom
user_document_index
Oct 27, 2026
Merged

duckduckgrayduck merged 1 commit into
masterfrom
user_document_index

Conversation

@duckduckgrayduck

@duckduckgrayduck duckduckgrayduck commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

For https://github.com/MuckRock/issues/issues/90
Was proposed as a possible necessity by Mitch in the org PR which does the same thing but for orgs. Did some digging and found that the user filter is susceptible to the same problem!

I confirmed on staging that it does use this index for that kind of API request, I just used my own user ID.

@duckduckgrayduck
duckduckgrayduck merged commit 55893dc into master Oct 27, 2026
5 checks passed
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