Skip to content

Add Firestore indexes for lobbying explorer#2199

Merged
Mephistic merged 3 commits into
codeforboston:mainfrom
nesanders:lobbying-indexes
Jul 15, 2026
Merged

Add Firestore indexes for lobbying explorer#2199
Mephistic merged 3 commits into
codeforboston:mainfrom
nesanders:lobbying-indexes

Conversation

@nesanders

@nesanders nesanders commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds 8 Firestore composite indexes required by the lobbying explorer pages
  • 7 indexes on lobbyingFilings: queries by bill, by entity, by client, and combinations with generalCourt
  • 1 index on lobbyingRegistrants: entityNameNorm + year for firm detail pages
  • No code changes — index-only PR intended to merge before the lobbying UI PR so indexes are READY by the time the UI ships

This is a precursor to #2158

Test plan

  • Confirm indexes reach READY state in Firebase Console before merging the lobbying UI PR
  • No regressions to existing pages (no existing indexes removed or modified)

Adds indexes required for the lobbying pages:
- lobbyingFilings: generalCourt+billId, entityNameNorm+year,
  clientNameNorm+year, entityNameNorm+generalCourt+billId,
  clientNameNorm+generalCourt+billId, generalCourt+entityNameNorm,
  generalCourt+clientNameNorm
- lobbyingRegistrants: entityNameNorm+year

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maple-dev Ready Ready Preview, Comment Jul 15, 2026 1:40am

Request Review

@nesanders nesanders self-assigned this Jul 15, 2026
@nesanders nesanders changed the title feat: add Firestore indexes for lobbying explorer Add Firestore indexes for lobbying explorer Jul 15, 2026
@nesanders
nesanders marked this pull request as draft July 15, 2026 01:19
nesanders and others added 2 commits July 14, 2026 21:27
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Required for the lobbying explorer Vercel preview to read overview stats.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Mephistic
Mephistic marked this pull request as ready for review July 15, 2026 01:40
@Mephistic
Mephistic merged commit 02e0a49 into codeforboston:main Jul 15, 2026
8 of 9 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