2 ms·
I had to switch away from Algolia - the problem is they only model "show items on the homepage" using a tag that's automatically applied to exactly 30 items, wh
by simonw 1y ago
I had to switch away from Algolia - the problem is they only model "show items on the homepage" using a tag that's automatically applied to exactly 30 items, which means any filtering knocks that down to eg 15.
I switched to using the older firebase API which can return up to 500 item IDs from the current (paginated) homepage - then I fetch and filter details of the first 200.
https://github.com/simonw/tools/commit/ccde4586a1d95ce9f561580e83c5dafa0eda0935 https://github.com/simonw/tools/commit/ccde4586a1d95ce9f5615...
- heavyset_go 1y agoI should have looked at your source, I didn't realize you were using the Algolia API