How to filter based on type on multi-Index Search with React InstantSearch Hooks`

Iam new in algolia and i have create 4 index one for each type like { subject , instructors , packages, live-session}

  • i wanna display 4 checkbox to filter based on type
  • by this i mean to stop the uncheck index from call this type

i know how to do it in one index to filter by type but in multiple index i cant do it

so please if any one have experience with algolia help me or any one do something like this before