algolia / firestore-algolia-search

Apache License 2.0
112 stars 35 forks source link

Add ability to choose all subcollections #133

Closed VolodymyrReient closed 2 years ago

VolodymyrReient commented 2 years ago

I have a collection "announcements". This collection has a six subcollections. An example of collection - screen. I can index only one subcollection (e.x path - announcements/announcements/list)

I think it's good to be able to choose all subcollections into a single search index: e.x announcements/*/list ( symbol * just for example) When i set collection path like announcements/*/list algolia index all subcollections

Probably this link will be usefull link

smomin commented 2 years ago

Based on your suggestion, this doesn't know seem to be under our control. The Firebase team allows for one collection at a time to be monitored per extension. You can install the extension multiple times to listen for each sub collection. You might want to chat with the Firebase team on this use case to see what they say.

VolodymyrReient commented 2 years ago

Based on your suggestion, this doesn't know seem to be under our control. The Firebase team allows for one collection at a time to be monitored per extension. You can install the extension multiple times to listen for each sub collection. You might want to chat with the Firebase team on this use case to see what they say.

Maybe add ability to configure more that one Collection Path at the same time (e.x create second input for Collection Path) - this field

smomin commented 2 years ago

hey @VolodymyrReient adding additional inputs would not really do anything if the provision scripts are not set up to recognize the additional inputs. The provisioning scripts are managed by the Firebase team.