Admin HomeBills Management

Bills Collection Management

Setup and manage the bills collection indexes and database structure

Run Migration
Create indexes for bills collection

This migration will create the following indexes:

  • Index on billId for quick bill lookups
  • Index on hearingId for hearing queries
  • Index on committee for filtering
  • Compound index on hearingDate + timestampSeconds for sorting
  • Text index on billId, title, summary, hearingTitle for search