Hi everyone,
I'm working on a food delivery app using FlutterFlow and integrating Algolia for search functionality. I have two collections, "Restaurants" and "Items," and I want users to search across both collections simultaneously.
Here ’s the setup:
Data from Firebase is successfully synced with Algolia.
I want to implement a search field where a user’s query will search both the "Restaurants" and "Items" collections and return results from both.
What I've tried:
Problem:
When a user types in the first text field, only the first collection (Restaurants) is searched. The second query (Items) doesn't trigger unless I manually type in the second text field. I need both collections to be queried simultaneously based on the input from the first text field.
Question:
How can I properly implement a search that queries two different Algolia collections and returns results from both in one action? Is there a way to combine or chain two Algolia searches, or any other workaround?
Thanks in advance for any help!