FlutterFlow - Algolia API Document Reference

Hey everyone,

first of all i want to explain what i was trying to achieve because i am not 100% sure that i am still on the right path ๐Ÿ˜€

I have a firestore integration and a database with several documents. I have over 15k of entries in some of those lists and they need to be heavily searchable and filterable. Therefore i integrated algolia with the standard integration (no API). So i needed to stack up the hits per page to the maximum of 1000. Otherwise i was not able to see the whole (or at least almost) lists.

Problem: after just 1 day i ran into the algolia search limit of the plan. Why? I think because everytime i open up the searchable lists i do a * search over the complete list. Also i habe a filter which updates live with every letter i put in.

First question: Do you have any better idea on how to solve this?

Second question: I was now thinking about implementing the Algolia API and do a simple infinite scroll with paging. But then i am not able to do any further queries on referenced lists. Which i heavily rely on to get other informations like pictures and such. Is there any idea on how to reference documents when i only get a JSON string (the document id)?

Thanks a lot already,

Patrick

2
3 replies